From: Sam Reed Date: Fri, 23 Jul 2010 20:58:09 +0000 (+0000) Subject: Fix spaces from r69814 X-Git-Tag: 1.31.0-rc.0~35982 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=e8a5082c22cda83ece28b1ad65b549b397a34199;p=lhc%2Fweb%2Fwiklou.git Fix spaces from r69814 Grrrr --- diff --git a/includes/db/DatabasePostgres.php b/includes/db/DatabasePostgres.php index 97e7f2001f..9086198b87 100644 --- a/includes/db/DatabasePostgres.php +++ b/includes/db/DatabasePostgres.php @@ -564,9 +564,9 @@ class DatabasePostgres extends DatabaseBase { $SQL = "SELECT 1 FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON (n.oid = c.relnamespace) ". "WHERE relname = 'pg_pltemplate' AND nspname='pg_catalog'"; $rows = $this->numRows($this->doQuery($SQL)); - global $wgDBname; + global $wgDBname; if ($rows >= 1) { - $olde = error_reporting(0); + $olde = error_reporting(0); error_reporting($olde - E_WARNING); $result = $this->doQuery("CREATE LANGUAGE plpgsql"); error_reporting($olde);