diff options
author | Tom Needham <needham.thomas@gmail.com> | 2012-03-11 22:20:01 +0000 |
---|---|---|
committer | Tom Needham <needham.thomas@gmail.com> | 2012-03-11 22:20:01 +0000 |
commit | 9c032ecc33d52438280bdf7d53fd904883ba664f (patch) | |
tree | ad4da18d06badb3f9e5d1420804caea543f08201 /apps/bookmarks/lib | |
parent | a2d7e9c6e8b951848c53dc2b159e1ff4b92642c5 (diff) | |
download | nextcloud-server-9c032ecc33d52438280bdf7d53fd904883ba664f.tar.gz nextcloud-server-9c032ecc33d52438280bdf7d53fd904883ba664f.zip |
Fix return value of export
Diffstat (limited to 'apps/bookmarks/lib')
-rw-r--r-- | apps/bookmarks/lib/migrate.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/bookmarks/lib/migrate.php b/apps/bookmarks/lib/migrate.php index 6e0b5c4cc49..451699ec15f 100644 --- a/apps/bookmarks/lib/migrate.php +++ b/apps/bookmarks/lib/migrate.php @@ -19,7 +19,15 @@ class OC_Migrate_Provider_Bookmarks extends OC_Migrate_Provider{ ); // Export tags - OC_Migrate::copyRows( $options ); + $ids2 = OC_Migrate::copyRows( $options ); + + // If both returned some ids then they worked + if( is_array( $ids ) && is_array( $ids2 ) ) + { + return true; + } else { + return false; + } } |