mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 16:27:38 +02:00
[ticket/11696] Rename db_tools.php so it can be autoloaded
PHPBB3-11696
This commit is contained in:
@@ -184,12 +184,6 @@ function dbms_select($default = '', $only_20x_options = false)
|
||||
*/
|
||||
function get_tables(&$db)
|
||||
{
|
||||
if (!class_exists('phpbb_db_tools'))
|
||||
{
|
||||
global $phpbb_root_path, $phpEx;
|
||||
require($phpbb_root_path . 'includes/db/db_tools.' . $phpEx);
|
||||
}
|
||||
|
||||
$db_tools = new phpbb_db_tools($db);
|
||||
|
||||
return $db_tools->sql_list_tables();
|
||||
|
Reference in New Issue
Block a user