1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-22 16:22:58 +02:00

[ticket/16345] Small improvements

PHPBB3-16346
This commit is contained in:
rubencm
2020-06-07 02:15:35 +00:00
parent 3cceeb45bf
commit 774c609c4a
284 changed files with 1380 additions and 835 deletions

View File

@@ -50,6 +50,9 @@ class migrator
/** @var array */
protected $tables;
/** @var array */
protected $tools;
/** @var string */
protected $phpbb_root_path;
@@ -87,7 +90,7 @@ class migrator
*
* 'effectively_installed' set and set to true if the migration was effectively_installed
*
* @var array
* @var array|bool
*/
protected $last_run_migration = false;
@@ -130,6 +133,7 @@ class migrator
$this->output_handler = new null_migrator_output_handler();
$this->tools = [];
foreach ($tools as $tool)
{
$this->tools[$tool->get_name()] = $tool;
@@ -699,7 +703,7 @@ class migrator
}
// Reverse the step that was run
$result = $this->run_step($reverse_step, false, !$revert);
$this->run_step($reverse_step, false, !$revert);
}
throw $e;