diff options
author | Gaëtan Muller <m.gaetan89@gmail.com> | 2015-01-11 20:59:17 +0100 |
---|---|---|
committer | Gaëtan Muller <m.gaetan89@gmail.com> | 2015-02-11 21:28:11 +0100 |
commit | 50478e68b093c71022337469bfa04f27382a8efb (patch) | |
tree | 7983f5df3923ced4e2edee9527c01760145b1032 /phpBB/install | |
parent | 069738a1f264c2966b78473a84dba90b4e6d3051 (diff) | |
download | forums-50478e68b093c71022337469bfa04f27382a8efb.tar forums-50478e68b093c71022337469bfa04f27382a8efb.tar.gz forums-50478e68b093c71022337469bfa04f27382a8efb.tar.bz2 forums-50478e68b093c71022337469bfa04f27382a8efb.tar.xz forums-50478e68b093c71022337469bfa04f27382a8efb.zip |
[ticket/13497] Update calls to `get_tables()`
PHPBB3-13497
Diffstat (limited to 'phpBB/install')
-rw-r--r-- | phpBB/install/install_convert.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/install/install_convert.php b/phpBB/install/install_convert.php index 622b162828..506bece9c9 100644 --- a/phpBB/install/install_convert.php +++ b/phpBB/install/install_convert.php @@ -491,7 +491,9 @@ class install_convert extends module { $prefixes = array(); - $tables_existing = get_tables($src_db); + $db_tools_factory = new \phpbb\db\tools\factory(); + $db_tools = $db_tools_factory->get($src_db); + $tables_existing = $db_tools->sql_list_tables(); $tables_existing = array_map('strtolower', $tables_existing); foreach ($tables_existing as $table_name) { |