mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge remote-tracking branch 'EXreaction/ticket/11372' into develop
# By Nathaniel Guse # Via Nathaniel Guse * EXreaction/ticket/11372: [ticket/11372] Migrator should only check if effectively installed if not
This commit is contained in:
commit
b1735e30bd
1 changed files with 13 additions and 13 deletions
|
@ -316,6 +316,8 @@ class phpbb_db_migrator
|
|||
'class' => $migration,
|
||||
);
|
||||
|
||||
if (!isset($this->migration_state[$name]))
|
||||
{
|
||||
if ($migration->effectively_installed())
|
||||
{
|
||||
$state = array(
|
||||
|
@ -328,8 +330,6 @@ class phpbb_db_migrator
|
|||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!isset($this->migration_state[$name]))
|
||||
{
|
||||
$state['migration_start_time'] = time();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue