diff options
author | Tom Needham <needham.thomas@gmail.com> | 2012-02-03 21:00:12 +0000 |
---|---|---|
committer | Tom Needham <needham.thomas@gmail.com> | 2012-02-03 21:00:12 +0000 |
commit | ee88ded463b24a9b9cd8ba78a5df8657159eeef8 (patch) | |
tree | f9cf3de7600647e113f94271fb82377e737777b8 /lib/migrate.php | |
parent | 0bbc9ade7d51c73b4bffc13f21fbab5561fd075c (diff) | |
download | nextcloud-server-ee88ded463b24a9b9cd8ba78a5df8657159eeef8.tar.gz nextcloud-server-ee88ded463b24a9b9cd8ba78a5df8657159eeef8.zip |
more commenting out for debugging, added logging commands
Diffstat (limited to 'lib/migrate.php')
-rw-r--r-- | lib/migrate.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/migrate.php b/lib/migrate.php index b3345ccd1a6..e3394c5a67a 100644 --- a/lib/migrate.php +++ b/lib/migrate.php @@ -25,7 +25,7 @@ * provides an interface to all search providers */ class OC_Migrate{ - static public $providers=array(); + static private $providers=array(); /** * register a new migration provider @@ -33,6 +33,7 @@ class OC_Migrate{ */ public static function registerProvider($provider){ self::$providers[]=$provider; + OC_Log::write('user_migrate','Provider registered',OC_Log::INFO); } /** @@ -46,7 +47,7 @@ class OC_Migrate{ foreach(self::$providers as $provider){ OC_Log::write('user_migrate','Getting app data for app:'.$provider->appid,OC_Log::INFO); $xml .= '<app>'; - $xml .= self::appInfoXML($provider->$appid); + //$xml .= self::appInfoXML($provider->$appid); $xml .= $provider->export($uid); $xml .= '</app>'; } |