diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-08-04 20:51:26 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-08-04 21:25:41 +0200 |
commit | f17876d093832c15f28e117e91e99efedbfb430a (patch) | |
tree | 2f8b05d12bc7bb6812d37602940cae647c74bc3d /settings | |
parent | 95fc7f4cb773dc1ab2d3ddffa62f0d8e884f6b74 (diff) | |
download | nextcloud-server-f17876d093832c15f28e117e91e99efedbfb430a.tar.gz nextcloud-server-f17876d093832c15f28e117e91e99efedbfb430a.zip |
Remove unused code.
Diffstat (limited to 'settings')
-rw-r--r-- | settings/apps.php | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/settings/apps.php b/settings/apps.php index d34b6468838..6feede7741c 100644 --- a/settings/apps.php +++ b/settings/apps.php @@ -60,39 +60,6 @@ function app_sort($a, $b){ } usort($apps, 'app_sort'); -/* -// apps from external repo via OCS - $catagoryNames=OC_OCSClient::getCategories(); - if(is_array($catagoryNames)){ - $categories=array_keys($catagoryNames); - $page=0; - $externalApps=OC_OCSClient::getApplications($categories,$page); - foreach($externalApps as $app){ - // show only external apps that are not exist yet - $local=false; - foreach($apps as $a){ - if($a['name']==$app['name']) $local=true; - } - - if(!$local) { - if($app['preview']=='') $pre='trans.png'; else $pre=$app['preview']; - $apps[]=array( - 'name'=>$app['name'], - 'id'=>$app['id'], - 'active'=>false, - 'description'=>$app['description'], - 'author'=>$app['personid'], - 'license'=>$app['license'], - 'preview'=>$pre, - 'internal'=>false, - 'internallabel'=>'3rd Party App', - ); - } - } - } -*/ - - $tmpl = new OC_Template( "settings", "apps", "user" ); $tmpl->assign('apps',$apps, false); $appid = (isset($_GET['appid'])?strip_tags($_GET['appid']):''); |