mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Nuke
synced 2024-11-24 08:14:18 +00:00
Migrate ILB::getConnectionRef() calls to ILB::getConnection()
Deprecated since 1.39 (I6e7544763bd) Bug: T343277 Change-Id: I575b724b8d098165abbf6043aa5e531e0f1d6f73
This commit is contained in:
parent
a6752a04c2
commit
2418468b84
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue