mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge pull request #3632 from prototech/ticket/13871
Fix call to undefined member function when running database_update.php
This commit is contained in:
commit
d917e0140f
1 changed files with 3 additions and 3 deletions
|
@ -184,9 +184,9 @@ define('IN_DB_UPDATE', true);
|
|||
/* @var $migrator \phpbb\db\migrator */
|
||||
$migrator = $phpbb_container->get('migrator');
|
||||
|
||||
/** @var \phpbb\filesystem\filesystem_interface $filesystem */
|
||||
$filesystem = $phpbb_container->get('filesystem');
|
||||
$migrator->set_output_handler(new \phpbb\db\log_wrapper_migrator_output_handler($user, new \phpbb\db\html_migrator_output_handler($user), $phpbb_root_path . 'store/migrations_' . time() . '.log', $filesystem));
|
||||
/** @var \phpbb\filesystem\filesystem_interface $phpbb_filesystem */
|
||||
$phpbb_filesystem = $phpbb_container->get('filesystem');
|
||||
$migrator->set_output_handler(new \phpbb\db\log_wrapper_migrator_output_handler($user, new \phpbb\db\html_migrator_output_handler($user), $phpbb_root_path . 'store/migrations_' . time() . '.log', $phpbb_filesystem));
|
||||
|
||||
$migrator->create_migrations_table();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue