Make wfGetDB() return a MaintainableDBConnRef instance (take 2)
authorKrinkle <krinklemail@gmail.com>
Wed, 24 Jul 2019 19:29:56 +0000 (19:29 +0000)
committerKrinkle <krinklemail@gmail.com>
Thu, 25 Jul 2019 15:28:27 +0000 (15:28 +0000)
commit74068ce880e245f84844bd78d49214994202441a
tree69378de07e5cb2898f0959bcf2cd0224e3bbf141
parent4c5a79089169a7ae63dc45382237067a9b62b1c0
Make wfGetDB() return a MaintainableDBConnRef instance (take 2)

This enforces the DB_* role checks of DBConnRef in more places.

This is a re-submission of 335066505a3ea, which was reverted due to T228928.

Change-Id: I556627dc6486e6f6539d1d2dd5aa6f009eff341e
includes/GlobalFunctions.php
tests/phpunit/includes/Revision/RevisionStoreTest.php
tests/phpunit/suites/ParserTestTopLevelSuite.php