summaryrefslogtreecommitdiffstats
path: root/lib/migrate.php
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2012-02-03 21:28:58 +0000
committerTom Needham <needham.thomas@gmail.com>2012-02-03 21:28:58 +0000
commit1133eaa679558a3f88a4678de977734533c29507 (patch)
tree2bf60406cece5a1c21f845355b540f2b749b1dfe /lib/migrate.php
parentee88ded463b24a9b9cd8ba78a5df8657159eeef8 (diff)
downloadnextcloud-server-1133eaa679558a3f88a4678de977734533c29507.tar.gz
nextcloud-server-1133eaa679558a3f88a4678de977734533c29507.zip
load bookmarks provider class
Diffstat (limited to 'lib/migrate.php')
-rw-r--r--lib/migrate.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/migrate.php b/lib/migrate.php
index e3394c5a67a..a1b4c5019bc 100644
--- a/lib/migrate.php
+++ b/lib/migrate.php
@@ -33,7 +33,6 @@ class OC_Migrate{
*/
public static function registerProvider($provider){
self::$providers[]=$provider;
- OC_Log::write('user_migrate','Provider registered',OC_Log::INFO);
}
/**
@@ -42,12 +41,12 @@ class OC_Migrate{
* @return string xml of app data
*/
public static function export($uid){
- OC_Log::write('user_migrate','Starting user appdata export for: '.$uid,OC_Log::INFO);
+ OC_Log::write('user_migrate','App data export started for user: '.$uid,OC_Log::INFO);
$xml = '';
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>';
}
@@ -62,7 +61,7 @@ class OC_Migrate{
public static function appInfoXML($appid){
$info = OC_App::getAppInfo($appid);
$xml = '<appinfo>';
- $zml .= 'INFO HERE';
+ $xml .= 'INFO HERE';
$xml .= '</appinfo>';
return $xml;
}