aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-12-06 07:12:46 +0100
committerMarc Alexander <admin@m-a-styles.de>2019-12-06 07:12:46 +0100
commitd7425b4998d68b51ecee543d2b77d9d5ed17cbd7 (patch)
tree3937f65af7751266e601eacf70c85fba98431f45
parent186384e514d85a9603be7178a8d82d55fd4925aa (diff)
parent1a4739aed90c88eb49ccbe3ad58af17632f026ec (diff)
downloadforums-d7425b4998d68b51ecee543d2b77d9d5ed17cbd7.tar
forums-d7425b4998d68b51ecee543d2b77d9d5ed17cbd7.tar.gz
forums-d7425b4998d68b51ecee543d2b77d9d5ed17cbd7.tar.bz2
forums-d7425b4998d68b51ecee543d2b77d9d5ed17cbd7.tar.xz
forums-d7425b4998d68b51ecee543d2b77d9d5ed17cbd7.zip
Merge pull request #5756 from mrgoldy/ticket/16239
[ticket/16239] Remove deprecated phpbb\db\tools
-rw-r--r--phpBB/phpbb/db/tools.php21
-rw-r--r--tests/test_framework/phpbb_ui_test_case.php3
2 files changed, 2 insertions, 22 deletions
diff --git a/phpBB/phpbb/db/tools.php b/phpBB/phpbb/db/tools.php
deleted file mode 100644
index 4d1b91f7b4..0000000000
--- a/phpBB/phpbb/db/tools.php
+++ /dev/null
@@ -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
-{
-}
diff --git a/tests/test_framework/phpbb_ui_test_case.php b/tests/test_framework/phpbb_ui_test_case.php
index fcac3594d0..243db39d69 100644
--- a/tests/test_framework/phpbb_ui_test_case.php
+++ b/tests/test_framework/phpbb_ui_test_case.php
@@ -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(