summaryrefslogtreecommitdiffstats
path: root/settings/apps.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-08-04 20:12:18 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-08-04 20:16:32 +0200
commit24af2e8078147578bd435983c1d9a11f13dae8c1 (patch)
tree76f2d8123f0b13c47127b5e61f230c11d83aa9c8 /settings/apps.php
parenta6ce497dd932fc013301e433c635c6286fffe513 (diff)
downloadnextcloud-server-24af2e8078147578bd435983c1d9a11f13dae8c1.tar.gz
nextcloud-server-24af2e8078147578bd435983c1d9a11f13dae8c1.zip
Load OCS apps in an ajax call to avoid blocking the WUI.
Diffstat (limited to 'settings/apps.php')
-rw-r--r--settings/apps.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/settings/apps.php b/settings/apps.php
index 27c71da0da8..d34b6468838 100644
--- a/settings/apps.php
+++ b/settings/apps.php
@@ -60,6 +60,7 @@ function app_sort($a, $b){
}
usort($apps, 'app_sort');
+/*
// apps from external repo via OCS
$catagoryNames=OC_OCSClient::getCategories();
if(is_array($catagoryNames)){
@@ -70,7 +71,7 @@ usort($apps, 'app_sort');
// show only external apps that are not exist yet
$local=false;
foreach($apps as $a){
- if($a['name']==$app['name']) $local=true;
+ if($a['name']==$app['name']) $local=true;
}
if(!$local) {
@@ -89,7 +90,7 @@ usort($apps, 'app_sort');
}
}
}
-
+*/
$tmpl = new OC_Template( "settings", "apps", "user" );