mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-27 09:10:12 +00:00
Migrate ILB::getConnectionRef() calls to ILB::getConnection()
Deprecated since 1.39 (I6e7544763bd) Bug: T343277 Change-Id: Ia5dd9a2db1d00148fe84e5ba791fd073368adcc4
This commit is contained in:
parent
562ffe2dab
commit
db44be03bb
|
@ -51,8 +51,8 @@ return [
|
|||
$loadBalancer = $cluster
|
||||
? $loadBalancerFactory->getExternalLB( $cluster )
|
||||
: $loadBalancerFactory->getMainLB( $database );
|
||||
$dbw = $loadBalancer->getConnectionRef( DB_PRIMARY, [], $database );
|
||||
$dbr = $loadBalancer->getConnectionRef( DB_REPLICA, [], $database );
|
||||
$dbw = $loadBalancer->getConnection( DB_PRIMARY, [], $database );
|
||||
$dbr = $loadBalancer->getConnection( DB_REPLICA, [], $database );
|
||||
|
||||
$pushProviderStore = new NameTableStore(
|
||||
$loadBalancer,
|
||||
|
|
Loading…
Reference in a new issue