mirror of https://github.com/nextcloud/bookmarks
ported checkLoggedIn and checkAdmin
This commit is contained in:
parent
303391fd58
commit
ff20ebcb3b
|
@ -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