diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2015-02-13 12:09:40 +0100 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2015-02-13 12:09:40 +0100 |
| commit | e5104b5d53bdfce0cbbf575d6c02ff609d36d2de (patch) | |
| tree | 7983f5df3923ced4e2edee9527c01760145b1032 /phpBB/install/install_convert.php | |
| parent | 4756fa5262d2f82904a4d8a51e8ce638dcbab0a3 (diff) | |
| parent | 50478e68b093c71022337469bfa04f27382a8efb (diff) | |
| download | forums-e5104b5d53bdfce0cbbf575d6c02ff609d36d2de.tar forums-e5104b5d53bdfce0cbbf575d6c02ff609d36d2de.tar.gz forums-e5104b5d53bdfce0cbbf575d6c02ff609d36d2de.tar.bz2 forums-e5104b5d53bdfce0cbbf575d6c02ff609d36d2de.tar.xz forums-e5104b5d53bdfce0cbbf575d6c02ff609d36d2de.zip | |
Merge pull request #3285 from MGaetan89/ticket/13497
[ticket/13497] Change get_tables() calls with $db_tools->sql_list_tables()
Diffstat (limited to 'phpBB/install/install_convert.php')
| -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) { |
