aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_update.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-05-19 11:19:06 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-05-19 11:19:06 +0000
commit8037937eb817f184092a0d8db344b068222f9ee2 (patch)
tree553ebc36bbeafb73f905bd3c78de19cda5bafc08 /phpBB/install/install_update.php
parentbf062c1cf5c141783e9d6832c694f753a1097962 (diff)
downloadforums-8037937eb817f184092a0d8db344b068222f9ee2.tar
forums-8037937eb817f184092a0d8db344b068222f9ee2.tar.gz
forums-8037937eb817f184092a0d8db344b068222f9ee2.tar.bz2
forums-8037937eb817f184092a0d8db344b068222f9ee2.tar.xz
forums-8037937eb817f184092a0d8db344b068222f9ee2.zip
late fix for #45335 (incorrect log message for update if using old updater)
late fix committed because change does not effect update files or patch git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9517 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/install_update.php')
-rw-r--r--phpBB/install/install_update.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php
index 07362b9e5e..388e217133 100644
--- a/phpBB/install/install_update.php
+++ b/phpBB/install/install_update.php
@@ -60,6 +60,8 @@ class install_update extends module
var $current_version;
var $unequal_version;
+ var $update_to_version;
+
// Set to false
var $test_update = false;
@@ -183,6 +185,9 @@ class install_update extends module
);
}
+ // We store the "update to" version, because it is not always the latest. ;)
+ $this->update_to_version = $this->update_info['version']['to'];
+
// Fill DB version
if (empty($config['dbms_version']))
{
@@ -449,7 +454,7 @@ class install_update extends module
if ($all_up_to_date)
{
// Add database update to log
- add_log('admin', 'LOG_UPDATE_PHPBB', $this->current_version, $this->latest_version);
+ add_log('admin', 'LOG_UPDATE_PHPBB', $this->current_version, $this->update_to_version);
// Refresh prosilver css data - this may cause some unhappy users, but
$sql = 'SELECT *