From 910061b2ee6838ee8420ef01294bf28bd7516c23 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Thu, 31 May 2012 13:00:58 +0200 Subject: [PATCH] Remove OC_App::register function The data supplied is never used in OwnCloud. Removed the call from all the apps, and made the public API function empty. --- appinfo/app.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/appinfo/app.php b/appinfo/app.php index 8a8f4438..f4bca9df 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -10,8 +10,6 @@ OC::$CLASSPATH['OC_Bookmarks_Bookmarks'] = 'apps/bookmarks/lib/bookmarks.php'; OC::$CLASSPATH['OC_Search_Provider_Bookmarks'] = 'apps/bookmarks/lib/search.php'; -OCP\App::register( array( 'order' => 70, 'id' => 'bookmark', 'name' => 'Bookmarks' )); - $l = new OC_l10n('bookmarks'); OCP\App::addNavigationEntry( array( 'id' => 'bookmarks_index', 'order' => 70, 'href' => OCP\Util::linkTo( 'bookmarks', 'index.php' ), 'icon' => OCP\Util::imagePath( 'bookmarks', 'bookmarks.png' ), 'name' => $l->t('Bookmarks')));