From 8037937eb817f184092a0d8db344b068222f9ee2 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Tue, 19 May 2009 11:19:06 +0000 Subject: [PATCH] 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 --- phpBB/install/install_update.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 *