summaryrefslogtreecommitdiffstats
path: root/settings/ajax/apps/ocs.php
diff options
context:
space:
mode:
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;