diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-06-29 11:15:56 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-06-29 12:14:07 +0200 |
commit | ae3d402dbc3c9620cea5b32bedc7f00874b12dd0 (patch) | |
tree | 8efd85897ad6ae4d138b4f191b31c4164ea9182e /lib/private/installer.php | |
parent | b55f71ee032a77105b823ee01653f39fe066977f (diff) | |
download | nextcloud-server-ae3d402dbc3c9620cea5b32bedc7f00874b12dd0.tar.gz nextcloud-server-ae3d402dbc3c9620cea5b32bedc7f00874b12dd0.zip |
Send OC version to appstore so it can reply with the right links
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 41f13f0f5f9..bd214be5667 100644 --- a/lib/private/installer.php +++ b/lib/private/installer.php @@ -227,8 +227,8 @@ class OC_Installer{ \OC::$server->getConfig(), \OC::$server->getLogger() ); - $appData = $ocsClient->getApplication($ocsId); - $download = $ocsClient->getApplicationDownload($ocsId); + $appData = $ocsClient->getApplication($ocsId, \OC_Util::getVersion()); + $download = $ocsClient->getApplicationDownload($ocsId, \OC_Util::getVersion()); if (isset($download['downloadlink']) && trim($download['downloadlink']) !== '') { $download['downloadlink'] = str_replace(' ', '%20', $download['downloadlink']); @@ -395,7 +395,7 @@ class OC_Installer{ \OC::$server->getConfig(), \OC::$server->getLogger() ); - $ocsdata = $ocsClient->getApplication($ocsid); + $ocsdata = $ocsClient->getApplication($ocsid, \OC_Util::getVersion()); $ocsversion= (string) $ocsdata['version']; $currentversion=OC_App::getAppVersion($app); if (version_compare($ocsversion, $currentversion, '>')) { |