Migrate ILB::getConnectionRef() calls to ILB::getConnection()

Deprecated since 1.39 (I6e7544763bd)

Bug: T343277
Change-Id: I575b724b8d098165abbf6043aa5e531e0f1d6f73
This commit is contained in:
gerritbot 2023-08-01 20:59:12 +00:00
parent a6752a04c2
commit 2418468b84

View file

@ -343,7 +343,7 @@ class SpecialNuke extends SpecialPage {
* @return array
*/
protected function getNewPages( $username, $limit, $namespace = null ) {
$dbr = $this->loadBalancer->getConnectionRef( DB_REPLICA );
$dbr = $this->loadBalancer->getConnection( DB_REPLICA );
$what = [
'rc_namespace',