commit 27727fc1b595a85c0c3d9a74904aef4fba91a45f
parent 73f766daf20b9255c9db85775b42c97cce78754f
Author: MTRNord <mtrnord1@gmail.com>
Date: Sun, 21 Dec 2014 16:00:37 +0100
fix download
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/core/update/update/update.php b/core/update/update/update.php
@@ -212,9 +212,8 @@ class AutoUpdate {
* @param string $updateUrl Url where to download from
* @param string $updateFile Path where to save the download
*/
- public function downloadUpdate($updateUrl, $updateFile) {
+ public function downloadUpdate($updateUrl . $this->branch;, $updateFile) {
$this->log('Downloading update...');
- $updateUrl = $updateUrl . $this->branch;
$update = @file_get_contents($updateUrl);
if ($update === false) {