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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user