Skip to content
Snippets Groups Projects
Commit f17876d0 authored by Thomas Tanghus's avatar Thomas Tanghus
Browse files

Remove unused code.

parent 95fc7f4c
No related branches found
No related tags found
No related merge requests found
......@@ -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']):'');
......
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