From d3ff4c088a1df8589fdc0ade38b5708f62bb1c7c Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Tue, 31 Oct 2006 13:31:40 +0000 Subject: [PATCH] Fix incorrect var name. --- includes/DatabasePostgres.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/DatabasePostgres.php b/includes/DatabasePostgres.php index a5e02e77f2..5e531bc872 100644 --- a/includes/DatabasePostgres.php +++ b/includes/DatabasePostgres.php @@ -85,7 +85,7 @@ class DatabasePostgres extends Database { $this->mOpened = true; ## If this is the initial connection, setup the schema stuff and possibly create the user if (defined('MEDIAWIKI_INSTALL')) { - global $wgDBname, $wgDBuser, $wgDBpass, $wgDBsuperuser, $wgDBmwschema, + global $wgDBname, $wgDBuser, $wgDBpassword, $wgDBsuperuser, $wgDBmwschema, $wgDBts2schema, $wgDBts2locale; print "OK\n"; @@ -131,7 +131,7 @@ class DatabasePostgres extends Database { dieout(''); } print "
  • Creating user $wgDBuser..."; - $safepass = $this->addQuotes($wgDBpass); + $safepass = $this->addQuotes($wgDBpassword); $SQL = "CREATE USER $safeuser NOCREATEDB PASSWORD $safepass"; $this->doQuery($SQL); print "OK
  • \n"; -- 2.20.1