mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
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:
parent
bf062c1cf5
commit
8037937eb8
1 changed files with 6 additions and 1 deletions
|
@ -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 *
|
||||
|
|
Loading…
Add table
Reference in a new issue