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
This commit is contained in:
Meik Sievertsen 2009-05-19 11:19:06 +00:00
parent bf062c1cf5
commit 8037937eb8

View file

@ -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 *