r76332 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76331‎ | r76332 | r76333 >
Date:19:54, 8 November 2010
Author:maxsem
Status:ok
Tags:
Comment:
Allow downloading LocalSettings after upgrades
Modified paths:
  • /trunk/phase3/includes/installer/WebInstaller.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/installer/WebInstaller.php
@@ -118,7 +118,8 @@
119119 $this->exportVars();
120120 $this->setupLanguage();
121121
122 - if( $this->getVar( '_InstallDone' ) && $this->request->getVal( 'localsettings' ) )
 122+ if( ( $this->getVar( '_InstallDone' ) || $this->getVar( '_UpgradeDone' ) )
 123+ && $this->request->getVal( 'localsettings' ) )
123124 {
124125 $this->request->response()->header( 'Content-type: text/plain' );
125126 $this->request->response()->header(

Status & tagging log