diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-06-29 15:45:50 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-06-29 16:01:57 +0200 |
commit | f5f92447e5696200a97cfc78cd8d703c88c82bf5 (patch) | |
tree | bcff30bbe4495f8bbfa93a2c30b5b225ef670d28 /lib/private/installer.php | |
parent | c1bed643a0698d8c5027e4c7dd54d9198e915e72 (diff) | |
download | nextcloud-server-f5f92447e5696200a97cfc78cd8d703c88c82bf5.tar.gz nextcloud-server-f5f92447e5696200a97cfc78cd8d703c88c82bf5.zip |
Add oc version to app store requests in stable7
Diffstat (limited to 'lib/private/installer.php')
-rw-r--r-- | lib/private/installer.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/installer.php b/lib/private/installer.php index dc9a3558b75..0295335fa51 100644 --- a/lib/private/installer.php +++ b/lib/private/installer.php @@ -206,8 +206,8 @@ class OC_Installer{ * @throws Exception */ public static function updateAppByOCSId($ocsid, $isShipped=false) { - $appdata = OC_OCSClient::getApplication($ocsid); - $download = OC_OCSClient::getApplicationDownload($ocsid, 1); + $appdata = OC_OCSClient::getApplication($ocsid, \OC_Util::getVersion()); + $download = OC_OCSClient::getApplicationDownload($ocsid, 1, \OC_Util::getVersion()); if (isset($download['downloadlink']) && trim($download['downloadlink']) !== '') { $download['downloadlink'] = str_replace(' ', '%20', $download['downloadlink']); @@ -369,7 +369,7 @@ class OC_Installer{ if($ocsid<>'') { - $ocsdata=OC_OCSClient::getApplication($ocsid); + $ocsdata=OC_OCSClient::getApplication($ocsid, \OC_Util::getVersion()); $ocsversion= (string) $ocsdata['version']; $currentversion=OC_App::getAppVersion($app); if (version_compare($ocsversion, $currentversion, '>')) { |