diff options
Diffstat (limited to 'phpBB/install')
| -rw-r--r-- | phpBB/install/database_update.php | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index 960b3c3fb3..5a2287c9e1 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -174,18 +174,7 @@ define('IN_DB_UPDATE', true); // End startup code $migrator = $phpbb_container->get('migrator'); -$migrator->set_output_handler( - new \phpbb\db\migrator_output_handler( - function($message, $verbosity) use ($user) - { - if ($verbosity <= \phpbb\db\migrator_output_handler::VERBOSITY_NORMAL) - { - $final_message = call_user_func_array(array($user, 'lang'), $message); - echo $final_message . "<br />\n"; - } - } - ) -); +$migrator->set_output_handler(new \phpbb\db\html_migrator_output_handler($user)); $migrator->create_migrations_table(); |
