aboutsummaryrefslogtreecommitdiffstats
path: root/apps/admin_dependencies_chk
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-02 00:50:26 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-02 00:50:26 +0200
commit2fe646dcec08b36179aa2b6ebca447a20e409b03 (patch)
treee5b909e88d9271e3301c9db3fea8771d059a914d /apps/admin_dependencies_chk
parentc94f39b488f9ae6bd24cbdbb5cfa877e29f199e3 (diff)
downloadnextcloud-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.php4
-rwxr-xr-x[-rw-r--r--]apps/admin_dependencies_chk/settings.php2
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;
}
}