mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
[ticket/10611] Use phpbb_db_tools::sql_list_tables() instead of get_tables().
get_tables() was deprecated by phpbb_db_tools::sql_list_tables() This prevents unnecessarily loading functions_install.php PHPBB3-10611
This commit is contained in:
parent
6036b948ff
commit
515c27270f
1 changed files with 1 additions and 2 deletions
|
@ -180,8 +180,7 @@ class acp_database
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
include($phpbb_root_path . 'includes/functions_install.' . $phpEx);
|
$tables = $this->db_tools->sql_list_tables();
|
||||||
$tables = get_tables($db);
|
|
||||||
asort($tables);
|
asort($tables);
|
||||||
foreach ($tables as $table_name)
|
foreach ($tables as $table_name)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue