mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 16:27:38 +02:00
[ticket/11372] Migrator should only check if effectively installed if not
installed at all PHPBB3-11372
This commit is contained in:
@@ -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();
|
||||
$this->insert_migration($name, $state);
|
||||
|
Reference in New Issue
Block a user