aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/db/migration/migration.php')
-rw-r--r--phpBB/phpbb/db/migration/migration.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/phpbb/db/migration/migration.php b/phpBB/phpbb/db/migration/migration.php
index 4e218344f4..c94ac29407 100644
--- a/phpBB/phpbb/db/migration/migration.php
+++ b/phpBB/phpbb/db/migration/migration.php
@@ -34,6 +34,9 @@ abstract class migration implements migration_interface
/** @var string */
protected $table_prefix;
+ /** @var array Tables array */
+ protected $tables;
+
/** @var string */
protected $phpbb_root_path;
@@ -55,13 +58,15 @@ abstract class migration implements migration_interface
* @param string $phpbb_root_path
* @param string $php_ext
* @param string $table_prefix
+ * @param array $tables
*/
- public function __construct(\phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, \phpbb\db\tools\tools_interface $db_tools, $phpbb_root_path, $php_ext, $table_prefix)
+ public function __construct(\phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, \phpbb\db\tools\tools_interface $db_tools, $phpbb_root_path, $php_ext, $table_prefix, $tables)
{
$this->config = $config;
$this->db = $db;
$this->db_tools = $db_tools;
$this->table_prefix = $table_prefix;
+ $this->tables = $tables;
$this->phpbb_root_path = $phpbb_root_path;
$this->php_ext = $php_ext;