From 3b4998082177d7f485478c48efecbdb3070c7ea0 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Sun, 25 Mar 2007 23:53:36 +0000 Subject: [PATCH] Mild formatting, fix missing '$' --- includes/DatabasePostgres.php | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/includes/DatabasePostgres.php b/includes/DatabasePostgres.php index 93051b616a..3fe8144f00 100644 --- a/includes/DatabasePostgres.php +++ b/includes/DatabasePostgres.php @@ -13,13 +13,18 @@ class PostgresField { private $name, $tablename, $type, $nullable, $max_length; static function fromText($db, $table, $field) { - global $wgDBmwschema; + global $wgDBmwschema; $q = <<query(sprintf($q, $db->addQuotes($wgDBmwschema), @@ -818,7 +823,7 @@ class DatabasePostgres extends Database { } function triggerExists($table, $trigger) { - global $wgDBmwschema; + global $wgDBmwschema; $q = <<selectField("pg_rules", "rulename", array( "rulename" => $rule, "tablename" => $table, @@ -908,7 +913,7 @@ END; $res = $this->doQuery($SQL); error_reporting( E_ALL ); if (!$res) { - print "FAILED. Make sure that the user \"$wgDBuser\" can write to the schema \"wgDBmwschema\"\n"; + print "FAILED. Make sure that the user \"$wgDBuser\" can write to the schema \"$wgDBmwschema\"\n"; dieout(""); } -- 2.20.1