1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-18 06:38:43 +01:00

Merge pull request #5756 from mrgoldy/ticket/16239

[ticket/16239] Remove deprecated phpbb\db\tools
This commit is contained in:
Marc Alexander 2019-12-06 07:12:46 +01:00
commit d7425b4998
2 changed files with 2 additions and 22 deletions

View File

@ -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
{
}

View File

@ -473,7 +473,8 @@ class phpbb_ui_test_case extends phpbb_test_case
$config = new \phpbb\config\config(array());
$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();
$migrator = new \phpbb\db\migrator(