Index: trunk/phase3/includes/db/DatabasePostgres.php |
— | — | @@ -564,9 +564,9 @@ |
565 | 565 | $SQL = "SELECT 1 FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON (n.oid = c.relnamespace) ". |
566 | 566 | "WHERE relname = 'pg_pltemplate' AND nspname='pg_catalog'"; |
567 | 567 | $rows = $this->numRows($this->doQuery($SQL)); |
568 | | - global $wgDBname; |
| 568 | + global $wgDBname; |
569 | 569 | if ($rows >= 1) { |
570 | | - $olde = error_reporting(0); |
| 570 | + $olde = error_reporting(0); |
571 | 571 | error_reporting($olde - E_WARNING); |
572 | 572 | $result = $this->doQuery("CREATE LANGUAGE plpgsql"); |
573 | 573 | error_reporting($olde); |