aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2015-05-28 11:53:35 +0200
committerCesar G <prototech91@gmail.com>2015-05-28 11:53:35 +0200
commit0f040225d629de7d1a6167c7822b21a9a8ec4af5 (patch)
tree969f1582263d938d9eeadca00b41b08e2fec3c50 /phpBB/install/database_update.php
parent30d39687de77c6f07b97e1b5d187314942d39dc5 (diff)
downloadforums-0f040225d629de7d1a6167c7822b21a9a8ec4af5.tar
forums-0f040225d629de7d1a6167c7822b21a9a8ec4af5.tar.gz
forums-0f040225d629de7d1a6167c7822b21a9a8ec4af5.tar.bz2
forums-0f040225d629de7d1a6167c7822b21a9a8ec4af5.tar.xz
forums-0f040225d629de7d1a6167c7822b21a9a8ec4af5.zip
[ticket/13871] Fix call to undefined member function on non-object error.
PHPBB3-13871
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 4746bb11f2..e6f360d418 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -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();