Revert "Make wfGetDB() return a MaintainableDBConnRef instance"
authorKrinkle <krinklemail@gmail.com>
Wed, 24 Jul 2019 18:07:18 +0000 (18:07 +0000)
committerKrinkle <krinklemail@gmail.com>
Wed, 24 Jul 2019 18:07:18 +0000 (18:07 +0000)
commit02b14d31425ce694c9baf5e27456eb1635194f1a
treef7f14dc279a121eb0a21364971f46057c550a1d0
parent335066505a3ea6121f3c5b5eae43b0c37ca6e2eb
Revert "Make wfGetDB() return a MaintainableDBConnRef instance"

This reverts commit 335066505a3ea6121f3c5b5eae43b0c37ca6e2eb.

The standalone parser test runner, as used by Parsoid Jenkins builds,
is (indirectly) using wfGetDB in a way that isn't supported (changing
the selected database). This needs to be fixed, but we can give it
a few days.

Change-Id: I07ff422dd56d5700e570100747aa49b7764ec80f
includes/GlobalFunctions.php
tests/phpunit/includes/Revision/RevisionStoreTest.php