Fix return value of export

This commit is contained in:
Tom Needham 2012-03-11 22:20:01 +00:00
parent a2d7e9c6e8
commit 9c032ecc33
1 changed files with 9 additions and 1 deletions

View File

@ -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;
}
}