r89770 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89769‎ | r89770 | r89771 >
Date:15:41, 9 June 2011
Author:mah
Status:ok
Tags:
Comment:
Fix cli installer so installdbuser and installdbpass options actually work.
Modified paths:
  • /branches/REL1_17/phase3/includes/installer/CliInstaller.php (modified) (history)

Diff [purge]

Index: branches/REL1_17/phase3/includes/installer/CliInstaller.php
@@ -77,6 +77,11 @@
7878 $this->getVar( 'wgDBuser' ) );
7979 $this->setVar( '_InstallPassword',
8080 $this->getVar( 'wgDBpassword' ) );
 81+ } else {
 82+ $this->setVar( '_InstallUser',
 83+ $option['installdbuser'] );
 84+ $this->setVar( '_InstallPassword',
 85+ $option['installdbpass'] );
8186 }
8287
8388 if ( isset( $option['pass'] ) ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r89771MFT r89770mah15:42, 9 June 2011

Status & tagging log