1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2025-03-21 12:29:14 +01:00

port checkAppEnabled

This commit is contained in:
Frank Karlitschek 2012-05-02 19:08:37 +02:00
parent 18322419e3
commit c1cf03ff65
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@
// Check if we are a user
OCP\User::checkLoggedIn();
OC_Util::checkAppEnabled('bookmarks');
OCP\App::checkAppEnabled('bookmarks');
require_once('bookmarksHelper.php');
addBookmark($_GET['url'], '', 'Read-Later');

View File

@ -25,7 +25,7 @@
// Check if we are a user
OCP\User::checkLoggedIn();
OC_Util::checkAppEnabled('bookmarks');
OCP\App::checkAppEnabled('bookmarks');
OCP\App::setActiveNavigationEntry( 'bookmarks_index' );