From: Aaron Schulz Date: Mon, 17 Jul 2017 23:32:53 +0000 (-0700) Subject: Remove excess getExternalLB() argument X-Git-Tag: 1.31.0-rc.0~2679^2 X-Git-Url: http://git.cyclocoop.org//%22%22._DIR_PLUGIN_FULLCALENDAR.%22prive/themes/spip/images/event_edit.png/%22?a=commitdiff_plain;h=c9544ab6b2afed5558b3fab56d3ece73da9fead1;p=lhc%2Fweb%2Fwiklou.git Remove excess getExternalLB() argument Change-Id: I097b1ba46806649f014ca624d15d9064ee0f9ba7 --- diff --git a/includes/jobqueue/JobQueueDB.php b/includes/jobqueue/JobQueueDB.php index cefe74df18..b7cc133a75 100644 --- a/includes/jobqueue/JobQueueDB.php +++ b/includes/jobqueue/JobQueueDB.php @@ -768,7 +768,7 @@ class JobQueueDB extends JobQueue { protected function getDB( $index ) { $lbFactory = MediaWikiServices::getInstance()->getDBLoadBalancerFactory(); $lb = ( $this->cluster !== false ) - ? $lbFactory->getExternalLB( $this->cluster, $this->wiki ) + ? $lbFactory->getExternalLB( $this->cluster ) : $lbFactory->getMainLB( $this->wiki ); return $lb->getConnectionRef( $index, [], $this->wiki );