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

Deprecated since 1.39 (I6e7544763bd)

Bug: T343277
Change-Id: Ia5dd9a2db1d00148fe84e5ba791fd073368adcc4
This commit is contained in:
gerritbot 2023-08-01 20:58:25 +00:00
parent 562ffe2dab
commit db44be03bb

View file

@ -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,