1
0
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:
Máté Bartus
2022-01-17 20:08:50 +01:00
committed by GitHub
50 changed files with 2674 additions and 3629 deletions

View File

@@ -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.');
}
/**