mirror of
https://github.com/owncloud/bookmarks.git
synced 2024-12-02 06:24:11 +01:00
Fix copyRows() and sqlite connection
This commit is contained in:
parent
9f87bfb06f
commit
47cc489a53
@ -3,7 +3,7 @@ class OC_Migrate_Provider_Bookmarks extends OC_Migrate_Provider{
|
||||
|
||||
// Create the xml for the user supplied
|
||||
function export( $uid ){
|
||||
|
||||
OC_Log::write('migration','starting export for bookmarks',OC_Log::INFO);
|
||||
$options = array(
|
||||
'table'=>'bookmarks',
|
||||
'matchcol'=>'user_id',
|
||||
@ -11,7 +11,7 @@ class OC_Migrate_Provider_Bookmarks extends OC_Migrate_Provider{
|
||||
'idcol'=>'id'
|
||||
);
|
||||
$ids = OC_Migrate::copyRows( $options );
|
||||
$ids = array('1');
|
||||
|
||||
$options = array(
|
||||
'table'=>'bookmarks_tags',
|
||||
'matchcol'=>'bookmark_id',
|
||||
|
Loading…
Reference in New Issue
Block a user