diff --git a/phpBB/phpbb/db/migrator.php b/phpBB/phpbb/db/migrator.php index 0df548ca90..09d89a042b 100644 --- a/phpBB/phpbb/db/migrator.php +++ b/phpBB/phpbb/db/migrator.php @@ -575,7 +575,7 @@ class migrator $state['migration_data_state']['_total_time'] : 0.0; $elapsed_time = microtime(true); - $steps = array_merge($this->helper->reverse_update_data($migration->update_data()), $migration->revert_data()); + $steps = $migration->revert_data() ?: $this->helper->reverse_update_data($migration->update_data()); $result = $this->process_data_step($steps, $state['migration_data_state']); $elapsed_time = microtime(true) - $elapsed_time;