summaryrefslogtreecommitdiffstats
path: root/apps/media
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/media
parenteec7c3833c9c1f1e83549474d6ba4b34ce307761 (diff)
downloadnextcloud-server-4fe90f62f4041d31402cbe198fd0e3edce77ce13.tar.gz
nextcloud-server-4fe90f62f4041d31402cbe198fd0e3edce77ce13.zip
port checkAppEnabled
Diffstat (limited to 'apps/media')
-rwxr-xr-xapps/media/index.php2
-rwxr-xr-xapps/media/server/xml.server.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/media/index.php b/apps/media/index.php
index df597c31085..e2911361ea2 100755
--- a/apps/media/index.php
+++ b/apps/media/index.php
@@ -26,7 +26,7 @@
// Check if we are a user
OCP\User::checkLoggedIn();
-OC_Util::checkAppEnabled('media');
+OCP\App::checkAppEnabled('media');
require_once(OC::$APPSROOT . '/apps/media/lib_collection.php');
require_once(OC::$APPSROOT . '/apps/media/lib_scanner.php');
diff --git a/apps/media/server/xml.server.php b/apps/media/server/xml.server.php
index bf277f3491c..63f2a51dcb5 100755
--- a/apps/media/server/xml.server.php
+++ b/apps/media/server/xml.server.php
@@ -23,7 +23,7 @@
require_once('../../inc.php');
-OC_Util::checkAppEnabled('media');
+OCP\App::checkAppEnabled('media');
require_once(OC::$APPSROOT . '/apps/media/lib_collection.php');
require_once(OC::$APPSROOT . '/apps/media/lib_ampache.php');