Remove wfGetDB from comments

Bug: T357632
Change-Id: I658c2e4cf4b889075e944488501bba1bc197965a
This commit is contained in:
Dringsim 2024-03-17 00:35:04 +08:00
parent fb1273541e
commit f0e2af4dd7
No known key found for this signature in database
GPG key ID: 7C5B1DFB8E73902C
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ class AbuseFilterExaminePager extends ReverseChronologicalPager {
Title $title,
array $conds
) {
// Set database before parent constructor to avoid setting it there with wfGetDB
// Set database before parent constructor to avoid setting it there
$this->mDb = $dbr;
parent::__construct( $changesList, $linkRenderer );
$this->changesList = $changesList;

View file

@ -29,7 +29,7 @@ class GlobalAbuseFilterPager extends AbuseFilterPager {
CentralDBManager $centralDBManager,
array $conds
) {
// Set database before parent constructor to avoid setting it there with wfGetDB
// Set database before parent constructor to avoid setting it there
$this->mDb = $centralDBManager->getConnection( DB_REPLICA );
parent::__construct( $page, $linkRenderer, null, $afPermManager, $specsFormatter, $conds, null, null );
}