summaryrefslogtreecommitdiffstats
path: root/apps/bookmarks
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-02 00:50:26 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-02 00:50:26 +0200
commit2fe646dcec08b36179aa2b6ebca447a20e409b03 (patch)
treee5b909e88d9271e3301c9db3fea8771d059a914d /apps/bookmarks
parentc94f39b488f9ae6bd24cbdbb5cfa877e29f199e3 (diff)
downloadnextcloud-server-2fe646dcec08b36179aa2b6ebca447a20e409b03.tar.gz
nextcloud-server-2fe646dcec08b36179aa2b6ebca447a20e409b03.zip
ported the oc_app calls
Diffstat (limited to 'apps/bookmarks')
-rwxr-xr-xapps/bookmarks/appinfo/app.php6
-rwxr-xr-xapps/bookmarks/index.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/bookmarks/appinfo/app.php b/apps/bookmarks/appinfo/app.php
index 246a0d0ecd7..8a8f443891c 100755
--- a/apps/bookmarks/appinfo/app.php
+++ b/apps/bookmarks/appinfo/app.php
@@ -10,12 +10,12 @@
OC::$CLASSPATH['OC_Bookmarks_Bookmarks'] = 'apps/bookmarks/lib/bookmarks.php';
OC::$CLASSPATH['OC_Search_Provider_Bookmarks'] = 'apps/bookmarks/lib/search.php';
-OC_App::register( array( 'order' => 70, 'id' => 'bookmark', 'name' => 'Bookmarks' ));
+OCP\App::register( array( 'order' => 70, 'id' => 'bookmark', 'name' => 'Bookmarks' ));
$l = new OC_l10n('bookmarks');
-OC_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')));
+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')));
-OC_App::registerPersonal('bookmarks', 'settings');
+OCP\App::registerPersonal('bookmarks', 'settings');
OCP\Util::addscript('bookmarks','bookmarksearch');
OC_Search::registerProvider('OC_Search_Provider_Bookmarks');
diff --git a/apps/bookmarks/index.php b/apps/bookmarks/index.php
index 7ab74c5f3f3..bfac1d29343 100755
--- a/apps/bookmarks/index.php
+++ b/apps/bookmarks/index.php
@@ -27,7 +27,7 @@
OCP\User::checkLoggedIn();
OC_Util::checkAppEnabled('bookmarks');
-OC_App::setActiveNavigationEntry( 'bookmarks_index' );
+OCP\App::setActiveNavigationEntry( 'bookmarks_index' );
OCP\Util::addscript('bookmarks','bookmarks');
OCP\Util::addStyle('bookmarks', 'bookmarks');