Merge "Installer: use _MainCacheType form variable"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 26 Oct 2015 17:32:52 +0000 (17:32 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 26 Oct 2015 17:32:52 +0000 (17:32 +0000)
1  2 
includes/installer/Installer.php
includes/installer/LocalSettingsGenerator.php

Simple merge
@@@ -287,10 -287,10 +287,10 @@@ class LocalSettingsGenerator 
                $serverSetting = "";
                if ( array_key_exists( 'wgServer', $this->values ) && $this->values['wgServer'] !== null ) {
                        $serverSetting = "\n## The protocol and server name to use in fully-qualified URLs\n";
 -                      $serverSetting .= "\$wgServer = \"{$this->values['wgServer']}\";\n";
 +                      $serverSetting .= "\$wgServer = \"{$this->values['wgServer']}\";";
                }
  
-               switch ( $this->values['wgMainCacheType'] ) {
+               switch ( $this->values['_MainCacheType'] ) {
                        case 'anything':
                        case 'db':
                        case 'memcached':