Skip to content
Snippets Groups Projects
Commit 38116c7e authored by Bart Visscher's avatar Bart Visscher
Browse files

Add check for missing appinfo in apps settings page

parent bb65e173
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,10 @@ $blacklist=array('files');//we dont want to show configuration for these
foreach($registeredApps as $app){
if(array_search($app,$blacklist)===false){
$info=OC_App::getAppInfo($app);
if (!isset($info['name'])) {
OC_Log::write('core','App id "'.$app.'" has no name in appinfo',OC_Log::ERROR);
continue;
}
$active=(OC_Appconfig::getValue($app,'enabled','no')=='yes')?true:false;
$info['active']=$active;
if(isset($info['shipped']) and ($info['shipped']=='true')) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment