summaryrefslogtreecommitdiffstats
path: root/settings/ajax/apps/ocs.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-06-29 15:45:50 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-06-29 16:01:57 +0200
commitf5f92447e5696200a97cfc78cd8d703c88c82bf5 (patch)
treebcff30bbe4495f8bbfa93a2c30b5b225ef670d28 /settings/ajax/apps/ocs.php
parentc1bed643a0698d8c5027e4c7dd54d9198e915e72 (diff)
downloadnextcloud-server-f5f92447e5696200a97cfc78cd8d703c88c82bf5.tar.gz
nextcloud-server-f5f92447e5696200a97cfc78cd8d703c88c82bf5.zip
Add oc version to app store requests in stable7
Diffstat (limited to 'settings/ajax/apps/ocs.php')
-rw-r--r--settings/ajax/apps/ocs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/ajax/apps/ocs.php b/settings/ajax/apps/ocs.php
index b68083fca6b..8139a73c807 100644
--- a/settings/ajax/apps/ocs.php
+++ b/settings/ajax/apps/ocs.php
@@ -23,12 +23,12 @@ if(is_null($enabledApps)) {
$apps=array();
// apps from external repo via OCS
-$categoryNames=OC_OCSClient::getCategories();
+$categoryNames=OC_OCSClient::getCategories(\OC_Util::getVersion());
if(is_array($categoryNames)) {
$categories=array_keys($categoryNames);
$page=0;
$filter='approved';
- $externalApps=OC_OCSClient::getApplications($categories, $page, $filter);
+ $externalApps=OC_OCSClient::getApplications($categories, $page, $filter, \OC_Util::getVersion());
foreach($externalApps as $app) {
// show only external apps that aren't enabled yet
$local=false;