1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2024-12-01 05:24:11 +01:00

Find migrate.php even for disabled apps. Improve ui for user and admin migrations

This commit is contained in:
Tom Needham 2012-03-13 16:21:17 +00:00
parent e6ad86e08a
commit 7d4c764036
2 changed files with 1 additions and 4 deletions

View File

@ -18,8 +18,4 @@ OC_App::addNavigationEntry( array( 'id' => 'bookmarks_index', 'order' => 70, 'hr
OC_App::registerPersonal('bookmarks', 'settings');
OC_Util::addScript('bookmarks','bookmarksearch');
// Include the migration provider
require_once('apps/bookmarks/lib/migrate.php');
OC_Search::registerProvider('OC_Search_Provider_Bookmarks');

View File

@ -54,4 +54,5 @@ class OC_Migrate_Provider_Bookmarks extends OC_Migrate_Provider{
}
// Load the provider
new OC_Migrate_Provider_Bookmarks( 'bookmarks' );