dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffa27f2
)
Fix spaces from r69814
author
Sam Reed
<reedy@users.mediawiki.org>
Fri, 23 Jul 2010 20:58:09 +0000
(20:58 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Fri, 23 Jul 2010 20:58:09 +0000
(20:58 +0000)
Grrrr
includes/db/DatabasePostgres.php
patch
|
blob
|
history
diff --git
a/includes/db/DatabasePostgres.php
b/includes/db/DatabasePostgres.php
index
97e7f20
..
9086198
100644
(file)
--- 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);