mirror of
https://github.com/owncloud/bookmarks.git
synced 2024-12-02 06:24:11 +01:00
Find migrate.php even for disabled apps. Improve ui for user and admin migrations
This commit is contained in:
parent
e6ad86e08a
commit
7d4c764036
@ -18,8 +18,4 @@ OC_App::addNavigationEntry( array( 'id' => 'bookmarks_index', 'order' => 70, 'hr
|
|||||||
OC_App::registerPersonal('bookmarks', 'settings');
|
OC_App::registerPersonal('bookmarks', 'settings');
|
||||||
OC_Util::addScript('bookmarks','bookmarksearch');
|
OC_Util::addScript('bookmarks','bookmarksearch');
|
||||||
|
|
||||||
// Include the migration provider
|
|
||||||
|
|
||||||
require_once('apps/bookmarks/lib/migrate.php');
|
|
||||||
|
|
||||||
OC_Search::registerProvider('OC_Search_Provider_Bookmarks');
|
OC_Search::registerProvider('OC_Search_Provider_Bookmarks');
|
||||||
|
@ -54,4 +54,5 @@ class OC_Migrate_Provider_Bookmarks extends OC_Migrate_Provider{
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Load the provider
|
||||||
new OC_Migrate_Provider_Bookmarks( 'bookmarks' );
|
new OC_Migrate_Provider_Bookmarks( 'bookmarks' );
|
Loading…
Reference in New Issue
Block a user