summaryrefslogtreecommitdiffstats
path: root/admin/apps.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/apps.php')
-rw-r--r--admin/apps.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/admin/apps.php b/admin/apps.php
index 83a48b65245..07e93728a39 100644
--- a/admin/apps.php
+++ b/admin/apps.php
@@ -33,11 +33,16 @@ OC_Util::addScript( "admin", "apps" );
$registeredApps=OC_App::getAllApps();
$apps=array();
+
+$blacklist=array('files_imageviewer','files_textviewer');//we dont want to show configuration for these
+
foreach($registeredApps as $app){
- $info=OC_App::getAppInfo($app);
- $active=(OC_Appconfig::getValue($app,'enabled','no')=='yes')?true:false;
- $info['active']=$active;
- $apps[]=$info;
+ if(array_search($app,$blacklist)===false){
+ $info=OC_App::getAppInfo($app);
+ $active=(OC_Appconfig::getValue($app,'enabled','no')=='yes')?true:false;
+ $info['active']=$active;
+ $apps[]=$info;
+ }
}
$categories=OC_OCSClient::getCategories();