From 623d3dc419e7b12520d6eec47c3cb2911df56846 Mon Sep 17 00:00:00 2001 From: Amir Sarabadani Date: Thu, 4 May 2023 23:41:21 +0200 Subject: rdbms: Move ReadOnlyMode and ConfiguredReadOnlyMode to rdbms library The db/ directory does not have an owner and it's a mess in general. These classes don't depend on anything in core except the rdbms library. Let's simply move it there. In other words, Krinkle made me do it. Since the class was moved in I6202e52ba73 merged less than a week ago, no need to alias anything. Bug: T321882 Change-Id: I24ceeb8bf765a50f441270136acd612359d50aa2 --- tests/phpunit/includes/EditPageConstraintsTest.php | 2 +- tests/phpunit/includes/HookContainer/HookContainerIntegrationTest.php | 2 +- tests/phpunit/includes/auth/AuthManagerTest.php | 2 +- tests/phpunit/integration/includes/page/RollbackPageTest.php | 2 +- tests/phpunit/mocks/DummyServicesTrait.php | 4 ++-- tests/phpunit/tests/MediaWikiIntegrationTestCaseTest.php | 2 +- tests/phpunit/unit/includes/ReadOnlyModeTest.php | 4 ++-- tests/phpunit/unit/includes/block/DatabaseBlockStoreFactoryTest.php | 2 +- tests/phpunit/unit/includes/db/MWLBFactoryTest.php | 2 +- .../unit/includes/editpage/Constraint/EditConstraintFactoryTest.php | 2 +- .../unit/includes/editpage/Constraint/ReadOnlyConstraintTest.php | 2 +- tests/phpunit/unit/includes/filebackend/FileBackendGroupTest.php | 2 +- tests/phpunit/unit/includes/filebackend/FileBackendGroupTestTrait.php | 2 +- tests/phpunit/unit/includes/jobqueue/JobQueueGroupFactoryTest.php | 2 +- tests/phpunit/unit/includes/page/UndeletePageTest.php | 2 +- 15 files changed, 17 insertions(+), 17 deletions(-) (limited to 'tests') diff --git a/tests/phpunit/includes/EditPageConstraintsTest.php b/tests/phpunit/includes/EditPageConstraintsTest.php index e0f549cff37e..076858de70ad 100644 --- a/tests/phpunit/includes/EditPageConstraintsTest.php +++ b/tests/phpunit/includes/EditPageConstraintsTest.php @@ -1,12 +1,12 @@