diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-18 21:14:07 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-18 21:14:07 +0200 |
commit | fdbe0c97340f9ebc92c083d0aade3f431d46cce0 (patch) | |
tree | 517d76d04eb4511f4455f11cb4cbbd3f2c9cdbc6 /settings/apps.php | |
parent | 0df376d4721d015947b7e05b71fddd65791fad43 (diff) | |
download | nextcloud-server-fdbe0c97340f9ebc92c083d0aade3f431d46cce0.tar.gz nextcloud-server-fdbe0c97340f9ebc92c083d0aade3f431d46cce0.zip |
don´t claim that already downloaded 3rd party apps are internal apps
Diffstat (limited to 'settings/apps.php')
-rw-r--r-- | settings/apps.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/settings/apps.php b/settings/apps.php index eef01641f32..028f00c2497 100644 --- a/settings/apps.php +++ b/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; } |