don´t claim that already downloaded 3rd party apps are internal apps

remotes/origin/stable4
Frank Karlitschek 13 years ago
parent 0df376d472
commit fdbe0c9734
  1. 9
      settings/apps.php

@ -39,8 +39,13 @@ foreach($registeredApps as $app){
$info=OC_App::getAppInfo($app);
$active=(OC_Appconfig::getValue($app,'enabled','no')=='yes')?true:false;
$info['active']=$active;
$info['internal']=true;
$info['internallabel']='Internal App';
if(isset($info['shipped']) and ($info['shipped']=='true')) {
$info['internal']=true;
$info['internallabel']='Internal App';
}else{
$info['internal']=false;
$info['internallabel']='3rd Party App';
}
$info['preview']='trans.png';
$apps[]=$info;
}

Loading…
Cancel
Save