1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 23:11:45 +02:00

[ticket/16741] Database tools to use Doctrine

PHPBB3-16741
This commit is contained in:
Máté Bartus
2021-07-31 12:06:08 +02:00
committed by Tristan Darricau
parent aee5e373bc
commit 98134abe20
15 changed files with 877 additions and 3435 deletions

View File

@@ -25,6 +25,7 @@ class factory
*/
public function get($db_driver, $return_statements = false)
{
// @todo: only create the doctrine tools object.
if ($db_driver instanceof \phpbb\db\driver\mssql_base)
{
return new \phpbb\db\tools\mssql($db_driver, $return_statements);