From 369024b56fd96a9ca7174f36a706d9dce478ac3b Mon Sep 17 00:00:00 2001 From: Mate Bartus Date: Wed, 28 Oct 2015 00:58:34 +0100 Subject: [PATCH] [ticket/14044] Try to fix missing table prefix PHPBB3-14044 --- phpBB/phpbb/install/module/update_database/task/update.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phpBB/phpbb/install/module/update_database/task/update.php b/phpBB/phpbb/install/module/update_database/task/update.php index 2d640134a3..015935e1de 100644 --- a/phpBB/phpbb/install/module/update_database/task/update.php +++ b/phpBB/phpbb/install/module/update_database/task/update.php @@ -98,6 +98,10 @@ class update extends task_base $this->language = $language; $this->phpbb_root_path = $phpbb_root_path; + // BC global for migrations + global $table_prefix; + $table_prefix = $container->get_parameter('table_prefix'); + $this->cache = $container->get('cache.driver'); $this->config = $container->get('config'); $this->extension_manager = $container->get('ext.manager');