aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Storage
diff options
context:
space:
mode:
authorAmir Sarabadani <ladsgroup@gmail.com>2024-04-17 14:47:05 +0200
committerJames D. Forrester <jforrester@wikimedia.org>2024-04-30 13:31:08 +0100
commit8e183495e10a2b1e06bb0d3aa5915693dab1d565 (patch)
tree718aea2040ee0d6e5929ab01b38951a9a3ba1f14 /includes/Storage
parentf4b0b0a347b4757c3966ad7df8dad67ffd94ae84 (diff)
downloadmediawikicore-8e183495e10a2b1e06bb0d3aa5915693dab1d565.tar.gz
mediawikicore-8e183495e10a2b1e06bb0d3aa5915693dab1d565.zip
Stop using LoadBalancer::getConnectionRef() so it can be hard-deprecated
Bug: T326274 Change-Id: I90493d7cd4c21fdc022bcc19765fc04d986a9c8f
Diffstat (limited to 'includes/Storage')
-rw-r--r--includes/Storage/SqlBlobStore.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Storage/SqlBlobStore.php b/includes/Storage/SqlBlobStore.php
index fd48e8f62807..4418afc49cd2 100644
--- a/includes/Storage/SqlBlobStore.php
+++ b/includes/Storage/SqlBlobStore.php
@@ -194,7 +194,7 @@ class SqlBlobStore implements BlobStore {
*/
private function getDBConnection( $index ) {
$lb = $this->getDBLoadBalancer();
- return $lb->getConnectionRef( $index, [], $this->dbDomain );
+ return $lb->getConnection( $index, [], $this->dbDomain );
}
/**