diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-04-22 17:50:04 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-04-23 02:30:12 +0200 |
commit | 4c0d6dc9e7842e1a21e5c01f50e0b61edffa34bf (patch) | |
tree | 75b83340b7c29b1f959d5a4de3db622fde70333d /lib/base.php | |
parent | 3e47ce3cef71306921f05fce9bdf19cceaf1c2a8 (diff) | |
download | nextcloud-server-4c0d6dc9e7842e1a21e5c01f50e0b61edffa34bf.tar.gz nextcloud-server-4c0d6dc9e7842e1a21e5c01f50e0b61edffa34bf.zip |
make OC_HOOKS actually work
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/base.php b/lib/base.php index 1ab9b23bccb..3f1bb6f3149 100644 --- a/lib/base.php +++ b/lib/base.php @@ -91,9 +91,9 @@ require_once('plugin.php'); $error=(count(OC_UTIL::checkServer())>0); -if(!$error){ - OC_PLUGIN::loadPlugins( "" ); -} +// if(!$error){ //disable untill plugin system is proper converted to the new code base +// OC_PLUGIN::loadPlugins( "" ); +// } OC_USER::setBackend( OC_CONFIG::getValue( "userbackend", "database" )); OC_GROUP::setBackend( OC_CONFIG::getValue( "groupbackend", "database" )); @@ -191,7 +191,7 @@ class OC_UTIL { * @return array */ public static function getVersion(){ - return array(1,2,0); + return array(1,60,0); } /** @@ -406,7 +406,7 @@ class OC_HOOK{ } // Call all slots - foreach( $registered[$signalclass][$signalname] as $i ){ + foreach( self::$registered[$signalclass][$signalname] as $i ){ call_user_func( array( $i["class"], $i["name"] ), $params ); } |