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/media | |
parent | eec7c3833c9c1f1e83549474d6ba4b34ce307761 (diff) | |
download | nextcloud-server-4fe90f62f4041d31402cbe198fd0e3edce77ce13.tar.gz nextcloud-server-4fe90f62f4041d31402cbe198fd0e3edce77ce13.zip |
port checkAppEnabled
Diffstat (limited to 'apps/media')
-rwxr-xr-x | apps/media/index.php | 2 | ||||
-rwxr-xr-x | apps/media/server/xml.server.php | 2 |
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'); |