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:
parent
303391fd58
commit
ff20ebcb3b
2
addBm.php
Normal file → Executable file
2
addBm.php
Normal file → Executable 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');
|
||||
|
Loading…
Reference in New Issue
Block a user