aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/phpbb/install/module/update_database/task/update.php4
1 files changed, 4 insertions, 0 deletions
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');