mirror of
https://github.com/owncloud/bookmarks.git
synced 2025-03-02 02:29:25 +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
|
// Create the xml for the user supplied
|
||||||
function export( $uid ){
|
function export( $uid ){
|
||||||
|
OC_Log::write('migration','starting export for bookmarks',OC_Log::INFO);
|
||||||
$options = array(
|
$options = array(
|
||||||
'table'=>'bookmarks',
|
'table'=>'bookmarks',
|
||||||
'matchcol'=>'user_id',
|
'matchcol'=>'user_id',
|
||||||
@ -11,7 +11,7 @@ class OC_Migrate_Provider_Bookmarks extends OC_Migrate_Provider{
|
|||||||
'idcol'=>'id'
|
'idcol'=>'id'
|
||||||
);
|
);
|
||||||
$ids = OC_Migrate::copyRows( $options );
|
$ids = OC_Migrate::copyRows( $options );
|
||||||
$ids = array('1');
|
|
||||||
$options = array(
|
$options = array(
|
||||||
'table'=>'bookmarks_tags',
|
'table'=>'bookmarks_tags',
|
||||||
'matchcol'=>'bookmark_id',
|
'matchcol'=>'bookmark_id',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user