summaryrefslogtreecommitdiffstats
path: root/settings/controller
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-06-29 11:15:56 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-06-29 12:14:07 +0200
commitae3d402dbc3c9620cea5b32bedc7f00874b12dd0 (patch)
tree8efd85897ad6ae4d138b4f191b31c4164ea9182e /settings/controller
parentb55f71ee032a77105b823ee01653f39fe066977f (diff)
downloadnextcloud-server-ae3d402dbc3c9620cea5b32bedc7f00874b12dd0.tar.gz
nextcloud-server-ae3d402dbc3c9620cea5b32bedc7f00874b12dd0.zip
Send OC version to appstore so it can reply with the right links
Diffstat (limited to 'settings/controller')
-rw-r--r--settings/controller/appsettingscontroller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/controller/appsettingscontroller.php b/settings/controller/appsettingscontroller.php
index d64c945c02c..53570a2a35f 100644
--- a/settings/controller/appsettingscontroller.php
+++ b/settings/controller/appsettingscontroller.php
@@ -127,7 +127,7 @@ class AppSettingsController extends Controller {
if($this->ocsClient->isAppStoreEnabled()) {
// apps from external repo via OCS
- $ocs = $this->ocsClient->getCategories();
+ $ocs = $this->ocsClient->getCategories(\OC_Util::getVersion());
if ($ocs) {
foreach($ocs as $k => $v) {
$categories[] = [