r69814 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69813‎ | r69814 | r69815 >
Date:20:41, 23 July 2010
Author:reedy
Status:resolved (Comments)
Tags:
Comment:
Add missing $wgDBname global
Modified paths:
  • /trunk/phase3/includes/db/DatabasePostgres.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/db/DatabasePostgres.php
@@ -564,6 +564,7 @@
565565 $SQL = "SELECT 1 FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON (n.oid = c.relnamespace) ".
566566 "WHERE relname = 'pg_pltemplate' AND nspname='pg_catalog'";
567567 $rows = $this->numRows($this->doQuery($SQL));
 568+ global $wgDBname;
568569 if ($rows >= 1) {
569570 $olde = error_reporting(0);
570571 error_reporting($olde - E_WARNING);

Follow-up revisions

RevisionCommit summaryAuthorDate
r69815Fix spaces from r69814...reedy20:58, 23 July 2010

Comments

#Comment by MaxSem (talk | contribs)   20:54, 23 July 2010

Spaces!

Status & tagging log