diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-06-29 15:09:57 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-06-29 15:09:57 +0200 |
commit | 1db047a33604ba7df915b8776076db69e3166120 (patch) | |
tree | 2026737577973f321aea947d0405ce35ecffe6eb /settings/controller/appsettingscontroller.php | |
parent | b56af26199aaaf5ca2a2969b0886e6b9b1ae622f (diff) | |
download | nextcloud-server-1db047a33604ba7df915b8776076db69e3166120.tar.gz nextcloud-server-1db047a33604ba7df915b8776076db69e3166120.zip |
Add missing version field
Diffstat (limited to 'settings/controller/appsettingscontroller.php')
-rw-r--r-- | settings/controller/appsettingscontroller.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/controller/appsettingscontroller.php b/settings/controller/appsettingscontroller.php index f62ced23ff8..6803985d5db 100644 --- a/settings/controller/appsettingscontroller.php +++ b/settings/controller/appsettingscontroller.php @@ -171,7 +171,7 @@ class AppSettingsController extends Controller { }); foreach($apps as $key => $app) { if(!array_key_exists('level', $app) && array_key_exists('ocsid', $app)) { - $remoteAppEntry = $this->ocsClient->getApplication($app['ocsid']); + $remoteAppEntry = $this->ocsClient->getApplication($app['ocsid'], \OC_Util::getVersion()); if(array_key_exists('level', $remoteAppEntry)) { $apps[$key]['level'] = $remoteAppEntry['level']; @@ -187,7 +187,7 @@ class AppSettingsController extends Controller { }); foreach($apps as $key => $app) { if(!array_key_exists('level', $app) && array_key_exists('ocsid', $app)) { - $remoteAppEntry = $this->ocsClient->getApplication($app['ocsid']); + $remoteAppEntry = $this->ocsClient->getApplication($app['ocsid'], \OC_Util::getVersion()); if(array_key_exists('level', $remoteAppEntry)) { $apps[$key]['level'] = $remoteAppEntry['level']; |