Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Karlitschek <karlitschek@kde.org>2012-01-06 22:08:35 +0400
committerFrank Karlitschek <karlitschek@kde.org>2012-01-06 22:08:35 +0400
commitd485a70e7df602e85506ad94103df00f8bb3f765 (patch)
treebc8280f82e08b792d885416ab8e9725d69adf276 /settings
parentf9db4249a3a7b73f6c712cfa32b029e6d09595f5 (diff)
finish the application store feature so that users can download and install ownCloud apps from our website. there is still a small problem with write permissions. will look into this later
Diffstat (limited to 'settings')
-rw-r--r--settings/apps.php32
1 files changed, 16 insertions, 16 deletions
diff --git a/settings/apps.php b/settings/apps.php
index 12a7bf77202..40b72639cd6 100644
--- a/settings/apps.php
+++ b/settings/apps.php
@@ -51,22 +51,22 @@ function app_sort($a, $b){
}
usort($apps, 'app_sort');
-// 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'],
-// );
-// }
-// }
+// apps from external repo via OCS
+ $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'],
+ );
+ }
+ }