From 2fe646dcec08b36179aa2b6ebca447a20e409b03 Mon Sep 17 00:00:00 2001 From: Frank Karlitschek Date: Wed, 2 May 2012 00:50:26 +0200 Subject: ported the oc_app calls --- apps/admin_dependencies_chk/appinfo/app.php | 4 ++-- apps/admin_dependencies_chk/settings.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 apps/admin_dependencies_chk/appinfo/app.php mode change 100644 => 100755 apps/admin_dependencies_chk/settings.php (limited to 'apps/admin_dependencies_chk') diff --git a/apps/admin_dependencies_chk/appinfo/app.php b/apps/admin_dependencies_chk/appinfo/app.php old mode 100644 new mode 100755 index f282b103c87..72d368a085e --- a/apps/admin_dependencies_chk/appinfo/app.php +++ b/apps/admin_dependencies_chk/appinfo/app.php @@ -1,9 +1,9 @@ 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 old mode 100644 new mode 100755 index 0cebc10198f..f4915c3d2fe --- 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; } } -- cgit v1.2.3