aboutsummaryrefslogtreecommitdiffstats
path: root/apps/gallery
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-02 19:08:37 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-02 19:08:37 +0200
commit4fe90f62f4041d31402cbe198fd0e3edce77ce13 (patch)
tree2320a5fabe2e5347c04472af1cc95a6eb056369f /apps/gallery
parenteec7c3833c9c1f1e83549474d6ba4b34ce307761 (diff)
downloadnextcloud-server-4fe90f62f4041d31402cbe198fd0e3edce77ce13.tar.gz
nextcloud-server-4fe90f62f4041d31402cbe198fd0e3edce77ce13.zip
port checkAppEnabled
Diffstat (limited to 'apps/gallery')
-rwxr-xr-xapps/gallery/index.php2
-rwxr-xr-x[-rw-r--r--]apps/gallery/sharing.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/gallery/index.php b/apps/gallery/index.php
index 4d49e3212e2..cf8bea14216 100755
--- a/apps/gallery/index.php
+++ b/apps/gallery/index.php
@@ -24,7 +24,7 @@
OCP\User::checkLoggedIn();
-OC_Util::checkAppEnabled('gallery');
+OCP\App::checkAppEnabled('gallery');
OCP\App::setActiveNavigationEntry( 'gallery_index' );
if (!file_exists(OCP\Config::getSystemValue("datadirectory").'/'. OCP\USER::getUser() .'/gallery')) {
diff --git a/apps/gallery/sharing.php b/apps/gallery/sharing.php
index 2739f63d4e0..44fcd9c864b 100644..100755
--- a/apps/gallery/sharing.php
+++ b/apps/gallery/sharing.php
@@ -27,7 +27,7 @@ if (!isset($_GET['token']) || empty($_GET['token'])) {
-OC_Util::checkAppEnabled('gallery');
+OCP\App::checkAppEnabled('gallery');
?>
<!doctype html>