diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-06-29 16:45:50 +0300 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-06-29 17:17:41 +0300 |
commit | 6ef3fbe5908273b161eeddbc024b4b9ac7b9d6e8 (patch) | |
tree | 9ba7153b61d2df39135895ef427b2a6afeb830ca /settings | |
parent | f48fe48f19749a1b574150e3837acd22cc376072 (diff) |
Add oc version to app store requests in stable6
Diffstat (limited to 'settings')
-rw-r--r-- | settings/ajax/apps/ocs.php | 4 |
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; |