Fixed include the File_Passwd file only if the SyncSvn plugin is activated.

This commit is contained in:
Loic d'Anterroches 2008-12-07 09:34:52 +01:00
parent 67a38fd547
commit e8d55a5267

View File

@ -21,7 +21,6 @@
# #
# ***** END LICENSE BLOCK ***** */ # ***** END LICENSE BLOCK ***** */
require_once 'File/Passwd/Authdigest.php'; // $ pear install File_Passwd
/** /**
* This classes is a plugin which allows to synchronise access rights * This classes is a plugin which allows to synchronise access rights
@ -41,6 +40,7 @@ class IDF_Plugin_SyncSvn
!Pluf::f('idf_plugin_syncsvn_svn_path'. false)) { !Pluf::f('idf_plugin_syncsvn_svn_path'. false)) {
return; return;
} }
include_once 'File/Passwd/Authdigest.php'; // $ pear install File_Passwd
$plug = new IDF_Plugin_SyncSvn(); $plug = new IDF_Plugin_SyncSvn();
switch ($signal) { switch ($signal) {
case 'IDF_Project::created': case 'IDF_Project::created':