diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-02 19:08:37 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-02 19:08:37 +0200 |
commit | 4fe90f62f4041d31402cbe198fd0e3edce77ce13 (patch) | |
tree | 2320a5fabe2e5347c04472af1cc95a6eb056369f /apps/bookmarks | |
parent | eec7c3833c9c1f1e83549474d6ba4b34ce307761 (diff) | |
download | nextcloud-server-4fe90f62f4041d31402cbe198fd0e3edce77ce13.tar.gz nextcloud-server-4fe90f62f4041d31402cbe198fd0e3edce77ce13.zip |
port checkAppEnabled
Diffstat (limited to 'apps/bookmarks')
-rwxr-xr-x | 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 afe61875737..313489d22fb 100755 --- a/apps/bookmarks/addBm.php +++ b/apps/bookmarks/addBm.php @@ -25,7 +25,7 @@ // Check if we are a user OCP\User::checkLoggedIn(); -OC_Util::checkAppEnabled('bookmarks'); +OCP\App::checkAppEnabled('bookmarks'); require_once('bookmarksHelper.php'); addBookmark($_GET['url'], '', 'Read-Later'); diff --git a/apps/bookmarks/index.php b/apps/bookmarks/index.php index bfac1d29343..f545d79da61 100755 --- a/apps/bookmarks/index.php +++ b/apps/bookmarks/index.php @@ -25,7 +25,7 @@ // Check if we are a user OCP\User::checkLoggedIn(); -OC_Util::checkAppEnabled('bookmarks'); +OCP\App::checkAppEnabled('bookmarks'); OCP\App::setActiveNavigationEntry( 'bookmarks_index' ); |