summaryrefslogtreecommitdiffstats
path: root/apps/bookmarks
diff options
context:
space:
mode:
Diffstat (limited to 'apps/bookmarks')
-rw-r--r--apps/bookmarks/appinfo/app.php4
-rw-r--r--apps/bookmarks/lib/migrate.php1
2 files changed, 1 insertions, 4 deletions
diff --git a/apps/bookmarks/appinfo/app.php b/apps/bookmarks/appinfo/app.php
index 13d76e08179..b9c308ca053 100644
--- a/apps/bookmarks/appinfo/app.php
+++ b/apps/bookmarks/appinfo/app.php
@@ -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');
diff --git a/apps/bookmarks/lib/migrate.php b/apps/bookmarks/lib/migrate.php
index 451699ec15f..8387f706038 100644
--- a/apps/bookmarks/lib/migrate.php
+++ b/apps/bookmarks/lib/migrate.php
@@ -54,4 +54,5 @@ class OC_Migrate_Provider_Bookmarks extends OC_Migrate_Provider{
}
+// Load the provider
new OC_Migrate_Provider_Bookmarks( 'bookmarks' ); \ No newline at end of file