From: Greg Sabino Mullane Date: Sun, 25 Mar 2007 23:53:36 +0000 (+0000) Subject: Mild formatting, fix missing '$' X-Git-Tag: 1.31.0-rc.0~53611 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=3b4998082177d7f485478c48efecbdb3070c7ea0;p=lhc%2Fweb%2Fwiklou.git Mild formatting, fix missing '$' --- 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(""); }