aboutsummaryrefslogtreecommitdiffstats
path: root/settings/apps.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-09-28 22:39:41 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-09-28 22:39:41 +0200
commit3ebf1a5a3b717e99622c3ba6dd10300a3805471b (patch)
tree86ea84dc5eae4689fef0de8bfac0332f385e15f1 /settings/apps.php
parentdded8ab27d0a07b45ffe8e91f5bfb373d7cd7d5b (diff)
downloadnextcloud-server-3ebf1a5a3b717e99622c3ba6dd10300a3805471b.tar.gz
nextcloud-server-3ebf1a5a3b717e99622c3ba6dd10300a3805471b.zip
dissable app instalation from apps.owncloud.org interface
Diffstat (limited to 'settings/apps.php')
-rw-r--r--settings/apps.php31
1 files changed, 16 insertions, 15 deletions
diff --git a/settings/apps.php b/settings/apps.php
index 672cb18775e..27b4c17f9e6 100644
--- a/settings/apps.php
+++ b/settings/apps.php
@@ -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'],
+// );
+// }
+// }