summaryrefslogtreecommitdiffstats
path: root/apps/media/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/media/index.php')
-rwxr-xr-xapps/media/index.php2
1 files changed, 1 insertions, 1 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');