commit c550cb09012ea76262cb7f6474b52ae9faf73a47
parent 3ccb5d1d28d4ee2d6e05f1025e52430d5d7ca7d4
Author: MTRNord <mtrnord1@gmail.com>
Date: Tue, 24 Feb 2015 17:09:45 +0100
more fixes
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/core/update/update/update.php b/core/update/update/update.php
@@ -233,7 +233,7 @@ class AutoUpdate
*/
public function setUpdateFile($updateFile)
{
- $this->_updateFile = $updateFile . $_branch;
+ $this->_updateFile = $updateFile . $this->$_branch;
}
/**
@@ -364,7 +364,7 @@ class AutoUpdate
// Check if cache is empty
if ($versions === false) {
- $updateFile = $this->_updateUrl . '/' . $this->_updateFile . $_branch;
+ $updateFile = $this->_updateUrl . '/' . $this->_updateFile . $this->$_branch;
$this->_log->addDebug(sprintf('Get new updates from %s', $updateFile));
// Read update file from update server
@@ -375,7 +375,7 @@ class AutoUpdate
}
// Parse update file
- $updateFileExtension = substr(strrchr($this->_updateFile . $_branch, '.'), 1);
+ $updateFileExtension = substr(strrchr($this->_updateFile . $this->$_branch, '.'), 1);
switch ($updateFileExtension) {
case 'ini':
$versions = parse_ini_string($update, true);