dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
445177e
)
Remove excess getExternalLB() argument
author
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 17 Jul 2017 23:32:53 +0000
(16:32 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 17 Jul 2017 23:32:53 +0000
(16:32 -0700)
Change-Id: I097b1ba46806649f014ca624d15d9064ee0f9ba7
includes/jobqueue/JobQueueDB.php
patch
|
blob
|
history
diff --git
a/includes/jobqueue/JobQueueDB.php
b/includes/jobqueue/JobQueueDB.php
index
cefe74d
..
b7cc133
100644
(file)
--- 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 );