X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FMssqlInstaller.php;h=4d79d9665b5ad69bc6b5f112edb1c7fe440a78d3;hb=c1d11183bc00b548404393d2229b2d635e867cf3;hp=46bb86c01009416d8413616767df41f66f9ff920;hpb=23376a76c91b26353e5d2f546520002490c761d7;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/MssqlInstaller.php b/includes/installer/MssqlInstaller.php index 46bb86c010..4d79d9665b 100644 --- a/includes/installer/MssqlInstaller.php +++ b/includes/installer/MssqlInstaller.php @@ -537,7 +537,6 @@ class MssqlInstaller extends DatabaseInstaller { $this->setupSchemaVars(); $dbName = $this->getVar( 'wgDBname' ); $this->db->selectDB( $dbName ); - $server = $this->getVar( 'wgDBserver' ); $password = $this->getVar( 'wgDBpassword' ); $schemaName = $this->getVar( 'wgDBmwschema' ); @@ -652,9 +651,9 @@ class MssqlInstaller extends DatabaseInstaller { public function getGlobalDefaults() { // The default $wgDBmwschema is null, which breaks Postgres and other DBMSes that require // the use of a schema, so we need to set it here - return array( + return array_merge( parent::getGlobalDefaults(), array( 'wgDBmwschema' => 'mediawiki', - ); + ) ); } /**