1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/13497] Update calls to get_tables()

PHPBB3-13497
This commit is contained in:
Gaëtan Muller
2015-01-11 20:59:17 +01:00
parent 069738a1f2
commit 50478e68b0
3 changed files with 19 additions and 15 deletions

View File

@@ -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)
{