r17323 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r17322‎ | r17323 | r17324 >
Date:13:31, 31 October 2006
Author:greg
Status:old
Tags:
Comment:
Fix incorrect var name.
Modified paths:
  • /trunk/phase3/includes/DatabasePostgres.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DatabasePostgres.php
@@ -85,7 +85,7 @@
8686 $this->mOpened = true;
8787 ## If this is the initial connection, setup the schema stuff and possibly create the user
8888 if (defined('MEDIAWIKI_INSTALL')) {
89 - global $wgDBname, $wgDBuser, $wgDBpass, $wgDBsuperuser, $wgDBmwschema,
 89+ global $wgDBname, $wgDBuser, $wgDBpassword, $wgDBsuperuser, $wgDBmwschema,
9090 $wgDBts2schema, $wgDBts2locale;
9191 print "OK</li>\n";
9292
@@ -131,7 +131,7 @@
132132 dieout('</ul>');
133133 }
134134 print "<li>Creating user <b>$wgDBuser</b>...";
135 - $safepass = $this->addQuotes($wgDBpass);
 135+ $safepass = $this->addQuotes($wgDBpassword);
136136 $SQL = "CREATE USER $safeuser NOCREATEDB PASSWORD $safepass";
137137 $this->doQuery($SQL);
138138 print "OK</li>\n";