summaryrefslogtreecommitdiffstats
path: root/apps/bookmarks
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-01 22:59:38 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-01 22:59:38 +0200
commit31e32e3c10ace169e0d841ff6e4b17d11fe64f1b (patch)
tree9a66b470bb9d5c8957a41902e17b5b4e95243343 /apps/bookmarks
parente2fb094693e94d425fa9f59278806ef636fc127b (diff)
downloadnextcloud-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.php2
-rwxr-xr-xapps/bookmarks/index.php2
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' );