diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-01 22:59:38 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-01 22:59:38 +0200 |
commit | 31e32e3c10ace169e0d841ff6e4b17d11fe64f1b (patch) | |
tree | 9a66b470bb9d5c8957a41902e17b5b4e95243343 /apps/bookmarks | |
parent | e2fb094693e94d425fa9f59278806ef636fc127b (diff) | |
download | nextcloud-server-31e32e3c10ace169e0d841ff6e4b17d11fe64f1b.tar.gz nextcloud-server-31e32e3c10ace169e0d841ff6e4b17d11fe64f1b.zip |
ported checkLoggedIn and checkAdmin
Diffstat (limited to 'apps/bookmarks')
-rwxr-xr-x[-rw-r--r--] | apps/bookmarks/addBm.php | 2 | ||||
-rwxr-xr-x | apps/bookmarks/index.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/bookmarks/addBm.php b/apps/bookmarks/addBm.php index 27e01bb3baf..afe61875737 100644..100755 --- a/apps/bookmarks/addBm.php +++ b/apps/bookmarks/addBm.php @@ -24,7 +24,7 @@ // Check if we are a user -OC_Util::checkLoggedIn(); +OCP\User::checkLoggedIn(); OC_Util::checkAppEnabled('bookmarks'); require_once('bookmarksHelper.php'); diff --git a/apps/bookmarks/index.php b/apps/bookmarks/index.php index 575c14c114c..7ab74c5f3f3 100755 --- a/apps/bookmarks/index.php +++ b/apps/bookmarks/index.php @@ -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' ); |