summaryrefslogtreecommitdiffstats
path: root/lib/migrate.php
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2012-02-03 20:48:32 +0000
committerTom Needham <needham.thomas@gmail.com>2012-02-03 20:48:32 +0000
commit0bbc9ade7d51c73b4bffc13f21fbab5561fd075c (patch)
tree0cf2a2f8b6ea966ebcb017ee3ba2e4bdd452cab9 /lib/migrate.php
parent5507db9b15034c73d9a121596da4bf440206f173 (diff)
downloadnextcloud-server-0bbc9ade7d51c73b4bffc13f21fbab5561fd075c.tar.gz
nextcloud-server-0bbc9ade7d51c73b4bffc13f21fbab5561fd075c.zip
fix syntax, add logging, debug xml output instead of zip
Diffstat (limited to 'lib/migrate.php')
-rw-r--r--lib/migrate.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/migrate.php b/lib/migrate.php
index 8f13d07f468..b3345ccd1a6 100644
--- a/lib/migrate.php
+++ b/lib/migrate.php
@@ -41,11 +41,13 @@ 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);
$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 .= $provider->export($uid));
+ $xml .= $provider->export($uid);
$xml .= '</app>';
}
return $xml;