mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-17 15:11:40 +02:00
Merge pull request #5756 from mrgoldy/ticket/16239
[ticket/16239] Remove deprecated phpbb\db\tools
This commit is contained in:
@@ -1,21 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* This file is part of the phpBB Forum Software package.
|
|
||||||
*
|
|
||||||
* @copyright (c) phpBB Limited <https://www.phpbb.com>
|
|
||||||
* @license GNU General Public License, version 2 (GPL-2.0)
|
|
||||||
*
|
|
||||||
* For full copyright and license information, please see
|
|
||||||
* the docs/CREDITS.txt file.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
namespace phpbb\db;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated 3.2.0-dev (To be removed 3.3.0) use \phpbb\db\tools\tools instead
|
|
||||||
*/
|
|
||||||
class tools extends \phpbb\db\tools\tools
|
|
||||||
{
|
|
||||||
}
|
|
@@ -473,7 +473,8 @@ class phpbb_ui_test_case extends phpbb_test_case
|
|||||||
|
|
||||||
$config = new \phpbb\config\config(array());
|
$config = new \phpbb\config\config(array());
|
||||||
$db = $this->get_db();
|
$db = $this->get_db();
|
||||||
$db_tools = new \phpbb\db\tools($db);
|
$factory = new \phpbb\db\tools\factory();
|
||||||
|
$db_tools = $factory->get($this->db);
|
||||||
|
|
||||||
$container = new phpbb_mock_container_builder();
|
$container = new phpbb_mock_container_builder();
|
||||||
$migrator = new \phpbb\db\migrator(
|
$migrator = new \phpbb\db\migrator(
|
||||||
|
Reference in New Issue
Block a user