diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-02 00:50:26 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-02 00:50:26 +0200 |
commit | 2fe646dcec08b36179aa2b6ebca447a20e409b03 (patch) | |
tree | e5b909e88d9271e3301c9db3fea8771d059a914d /apps/admin_dependencies_chk | |
parent | c94f39b488f9ae6bd24cbdbb5cfa877e29f199e3 (diff) | |
download | nextcloud-server-2fe646dcec08b36179aa2b6ebca447a20e409b03.tar.gz nextcloud-server-2fe646dcec08b36179aa2b6ebca447a20e409b03.zip |
ported the oc_app calls
Diffstat (limited to 'apps/admin_dependencies_chk')
-rwxr-xr-x[-rw-r--r--] | apps/admin_dependencies_chk/appinfo/app.php | 4 | ||||
-rwxr-xr-x[-rw-r--r--] | apps/admin_dependencies_chk/settings.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/admin_dependencies_chk/appinfo/app.php b/apps/admin_dependencies_chk/appinfo/app.php index f282b103c87..72d368a085e 100644..100755 --- a/apps/admin_dependencies_chk/appinfo/app.php +++ b/apps/admin_dependencies_chk/appinfo/app.php @@ -1,9 +1,9 @@ <?php $l=OC_L10N::get('admin_dependencies_chk'); -OC_App::register( array( +OCP\App::register( array( 'order' => 14, 'id' => 'admin_dependencies_chk', 'name' => 'Owncloud Install Info' )); -OC_APP::registerAdmin('admin_dependencies_chk','settings'); +OCP\App::registerAdmin('admin_dependencies_chk','settings'); diff --git a/apps/admin_dependencies_chk/settings.php b/apps/admin_dependencies_chk/settings.php index 0cebc10198f..f4915c3d2fe 100644..100755 --- a/apps/admin_dependencies_chk/settings.php +++ b/apps/admin_dependencies_chk/settings.php @@ -77,7 +77,7 @@ $modules[] =array( foreach($modules as $key => $module) { $enabled = false ; foreach($module['modules'] as $app) { - if(OC_App::isEnabled($app) || $app=='core'){ + if(OCP\App::isEnabled($app) || $app=='core'){ $enabled = true; } } |