dissable app instalation from apps.owncloud.org interface
This commit is contained in:
parent
dded8ab27d
commit
3ebf1a5a3b
|
@ -43,21 +43,22 @@ foreach($registeredApps as $app){
|
|||
}
|
||||
}
|
||||
|
||||
$catagoryNames=OC_OCSClient::getCategories();
|
||||
if(is_array($catagoryNames)){
|
||||
$categories=array_keys($catagoryNames);
|
||||
$externalApps=OC_OCSClient::getApplications($categories);
|
||||
foreach($externalApps as $app){
|
||||
$apps[]=array(
|
||||
'name'=>$app['name'],
|
||||
'id'=>$app['id'],
|
||||
'active'=>false,
|
||||
'description'=>$app['description'],
|
||||
'author'=>$app['personid'],
|
||||
'license'=>$app['license'],
|
||||
);
|
||||
}
|
||||
}
|
||||
// dissabled for now
|
||||
// $catagoryNames=OC_OCSClient::getCategories();
|
||||
// if(is_array($catagoryNames)){
|
||||
// $categories=array_keys($catagoryNames);
|
||||
// $externalApps=OC_OCSClient::getApplications($categories);
|
||||
// foreach($externalApps as $app){
|
||||
// $apps[]=array(
|
||||
// 'name'=>$app['name'],
|
||||
// 'id'=>$app['id'],
|
||||
// 'active'=>false,
|
||||
// 'description'=>$app['description'],
|
||||
// 'author'=>$app['personid'],
|
||||
// 'license'=>$app['license'],
|
||||
// );
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue