From 3f039132f99275188c83730800bb27f3189efc7e Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 3 May 2013 09:26:25 -0700 Subject: [PATCH] Pass correct number of parameters to Database constructor from installer DatabaseBase::__construct() accepts 6 parameters, installer passes 7. Change-Id: I96d84f645f8f3899d7a99756b441957f1b234de9 --- includes/installer/MysqlInstaller.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/includes/installer/MysqlInstaller.php b/includes/installer/MysqlInstaller.php index 4436173049..e0bf3d7ee7 100644 --- a/includes/installer/MysqlInstaller.php +++ b/includes/installer/MysqlInstaller.php @@ -152,7 +152,6 @@ class MysqlInstaller extends DatabaseInstaller { $this->getVar( '_InstallUser' ), $this->getVar( '_InstallPassword' ), false, - false, 0, $this->getVar( 'wgDBprefix' ) ); @@ -435,7 +434,6 @@ class MysqlInstaller extends DatabaseInstaller { $this->getVar( 'wgDBuser' ), $this->getVar( 'wgDBpassword' ), false, - false, 0, $this->getVar( 'wgDBprefix' ) ); @@ -512,7 +510,6 @@ class MysqlInstaller extends DatabaseInstaller { $dbUser, $password, false, - false, 0, $this->getVar( 'wgDBprefix' ) ); -- 2.20.1