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

ported checkLoggedIn and checkAdmin

This commit is contained in:
Frank Karlitschek 2012-05-01 22:59:38 +02:00
parent 303391fd58
commit ff20ebcb3b
2 changed files with 2 additions and 2 deletions

2
addBm.php Normal file → Executable file
View File

@ -24,7 +24,7 @@
// Check if we are a user
OC_Util::checkLoggedIn();
OCP\User::checkLoggedIn();
OC_Util::checkAppEnabled('bookmarks');
require_once('bookmarksHelper.php');

View File

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