summaryrefslogtreecommitdiff
path: root/includes/db/LBFactoryMulti.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/db/LBFactoryMulti.php')
-rw-r--r--includes/db/LBFactoryMulti.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/db/LBFactoryMulti.php b/includes/db/LBFactoryMulti.php
index aa305ab1..92fbccd6 100644
--- a/includes/db/LBFactoryMulti.php
+++ b/includes/db/LBFactoryMulti.php
@@ -232,7 +232,7 @@ class LBFactoryMulti extends LBFactory {
public function getMainLB( $wiki = false ) {
$section = $this->getSectionForWiki( $wiki );
if ( !isset( $this->mainLBs[$section] ) ) {
- $lb = $this->newMainLB( $wiki, $section );
+ $lb = $this->newMainLB( $wiki );
$lb->parentInfo( array( 'id' => "main-$section" ) );
$this->chronProt->initLB( $lb );
$this->mainLBs[$section] = $lb;