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 /apps/bookmarks/lib | |
parent | 0bbc9ade7d51c73b4bffc13f21fbab5561fd075c (diff) | |
download | nextcloud-server-ee88ded463b24a9b9cd8ba78a5df8657159eeef8.tar.gz nextcloud-server-ee88ded463b24a9b9cd8ba78a5df8657159eeef8.zip |
more commenting out for debugging, added logging commands
Diffstat (limited to 'apps/bookmarks/lib')
-rw-r--r-- | apps/bookmarks/lib/migrate.php | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/apps/bookmarks/lib/migrate.php b/apps/bookmarks/lib/migrate.php index 2e6581cd9fa..d5a6a75ca82 100644 --- a/apps/bookmarks/lib/migrate.php +++ b/apps/bookmarks/lib/migrate.php @@ -1,18 +1,15 @@ <?php - class OC_Migrate_Provider_Bookmarks extends OC_Migrate_Provider{ - $this->appid = 'bookmarks'; // Create the xml for the user supplied function export($uid){ - $xml = ''; - $query = OC_DB::prepare("SELECT * FROM *PREFIX*bookmarks WHERE *PREFIX*bookmakrs.user_id = ?"); - $bookmarks = $query->execute($uid); - OC_Log::write('user_migrate',print_r($bookmarks)); - foreach($bookmarks as $bookmark){ - $xml .= '<bookmark>'; - $xml .='DATA WILL BE HERE'; - $xml .= '</bookmark>'; - } + $xml = 'debugfrombookmarks'; + //$query = OC_DB::prepare("SELECT * FROM *PREFIX*bookmarks WHERE *PREFIX*bookmakrs.user_id = ?"); + //$bookmarks = $query->execute($uid); + //foreach($bookmarks as $bookmark){ + // $xml .= '<bookmark>'; + // $xml .='DATA WILL BE HERE'; + // $xml .= '</bookmark>'; + //} return $xml; } } |