https://www.mediawiki.org/wiki/Special:Code/MediaWiki/108337

Revision: 108337
Author:   platonides
Date:     2012-01-07 23:29:48 +0000 (Sat, 07 Jan 2012)
Log Message:
-----------
No need of $wgDBmwschema after r108060

Modified Paths:
--------------
    trunk/phase3/includes/db/DatabasePostgres.php

Modified: trunk/phase3/includes/db/DatabasePostgres.php
===================================================================
--- trunk/phase3/includes/db/DatabasePostgres.php       2012-01-07 23:26:35 UTC 
(rev 108336)
+++ trunk/phase3/includes/db/DatabasePostgres.php       2012-01-07 23:29:48 UTC 
(rev 108337)
@@ -624,7 +624,7 @@
        }
 
        function tableName( $name, $format = 'quoted' ) {
-               global $wgSharedDB, $wgSharedTables, $wgDBmwschema;
+               global $wgSharedDB, $wgSharedTables;
                # Skip quoted tablenames.
                if ( $this->isQuotedIdentifier( $name ) ) {
                        return $name;
@@ -643,7 +643,7 @@
                $dbDetails = explode( '.', $name, 2 );
                if ( isset( $dbDetails[1] ) ) {
                        $schema = '"' . $dbDetails[0] . '".';
-                       $table  = $dbDetails [1];
+                       $table  = $dbDetails[1];
                } else {
                        $schema = ""; # do NOT force the schema (due to 
temporary tables)
                        $table = $dbDetails[0];


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to