aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_database.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-05-30 13:41:36 +0200
committerAndreas Fischer <bantu@phpbb.com>2012-05-30 13:41:36 +0200
commit515c27270fe04b5e2f69a0cedc5007ef889fdf77 (patch)
treea57b489028ad1208b16e202135abcefa31998bb7 /phpBB/includes/acp/acp_database.php
parent6036b948ff8ff02f890d46000aafea5dd157d025 (diff)
downloadforums-515c27270fe04b5e2f69a0cedc5007ef889fdf77.tar
forums-515c27270fe04b5e2f69a0cedc5007ef889fdf77.tar.gz
forums-515c27270fe04b5e2f69a0cedc5007ef889fdf77.tar.bz2
forums-515c27270fe04b5e2f69a0cedc5007ef889fdf77.tar.xz
forums-515c27270fe04b5e2f69a0cedc5007ef889fdf77.zip
[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
Diffstat (limited to 'phpBB/includes/acp/acp_database.php')
-rw-r--r--phpBB/includes/acp/acp_database.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_database.php b/phpBB/includes/acp/acp_database.php
index 6380f221f8..885760f859 100644
--- a/phpBB/includes/acp/acp_database.php
+++ b/phpBB/includes/acp/acp_database.php
@@ -180,8 +180,7 @@ class acp_database
break;
default:
- include($phpbb_root_path . 'includes/functions_install.' . $phpEx);
- $tables = get_tables($db);
+ $tables = $this->db_tools->sql_list_tables();
asort($tables);
foreach ($tables as $table_name)
{