mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Merge pull request #6273 from CHItA/ticket/16741
[ticket/16741] Database tools to use Doctrine
This commit is contained in:
@@ -365,10 +365,7 @@ function request_var($var_name, $default, $multibyte = false, $cookie = false, $
|
||||
*/
|
||||
function get_tables($db)
|
||||
{
|
||||
$db_tools_factory = new \phpbb\db\tools\factory();
|
||||
$db_tools = $db_tools_factory->get($db);
|
||||
|
||||
return $db_tools->sql_list_tables();
|
||||
throw new BadFunctionCallException('function removed from phpBB core, use db_tools service instead.');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user