1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 20:13:22 +01: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:
David King 2013-02-28 11:17:23 -05:00
commit b1735e30bd

View File

@ -316,6 +316,8 @@ class phpbb_db_migrator
'class' => $migration, 'class' => $migration,
); );
if (!isset($this->migration_state[$name]))
{
if ($migration->effectively_installed()) if ($migration->effectively_installed())
{ {
$state = array( $state = array(
@ -328,8 +330,6 @@ class phpbb_db_migrator
); );
} }
else else
{
if (!isset($this->migration_state[$name]))
{ {
$state['migration_start_time'] = time(); $state['migration_start_time'] = time();
} }