aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMate Bartus <mate.bartus@gmail.com>2015-10-28 00:58:34 +0100
committerMate Bartus <mate.bartus@gmail.com>2015-10-28 00:58:34 +0100
commit369024b56fd96a9ca7174f36a706d9dce478ac3b (patch)
treebaebf178da56f6889fad259a4c7fe7575504f477
parenta761a4080d5aa4e74c34e215c8cb394dcb32ad4b (diff)
downloadforums-369024b56fd96a9ca7174f36a706d9dce478ac3b.tar
forums-369024b56fd96a9ca7174f36a706d9dce478ac3b.tar.gz
forums-369024b56fd96a9ca7174f36a706d9dce478ac3b.tar.bz2
forums-369024b56fd96a9ca7174f36a706d9dce478ac3b.tar.xz
forums-369024b56fd96a9ca7174f36a706d9dce478ac3b.zip
[ticket/14044] Try to fix missing table prefix
PHPBB3-14044
-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');