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();
|
// dissabled for now
|
||||||
if(is_array($catagoryNames)){
|
// $catagoryNames=OC_OCSClient::getCategories();
|
||||||
$categories=array_keys($catagoryNames);
|
// if(is_array($catagoryNames)){
|
||||||
$externalApps=OC_OCSClient::getApplications($categories);
|
// $categories=array_keys($catagoryNames);
|
||||||
foreach($externalApps as $app){
|
// $externalApps=OC_OCSClient::getApplications($categories);
|
||||||
$apps[]=array(
|
// foreach($externalApps as $app){
|
||||||
'name'=>$app['name'],
|
// $apps[]=array(
|
||||||
'id'=>$app['id'],
|
// 'name'=>$app['name'],
|
||||||
'active'=>false,
|
// 'id'=>$app['id'],
|
||||||
'description'=>$app['description'],
|
// 'active'=>false,
|
||||||
'author'=>$app['personid'],
|
// 'description'=>$app['description'],
|
||||||
'license'=>$app['license'],
|
// 'author'=>$app['personid'],
|
||||||
);
|
// 'license'=>$app['license'],
|
||||||
}
|
// );
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue