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

Revision: 106370
Author:   platonides
Date:     2011-12-15 21:12:27 +0000 (Thu, 15 Dec 2011)
Log Message:
-----------
Use the canonical name of the setting

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

Modified: trunk/phase3/includes/db/DatabasePostgres.php
===================================================================
--- trunk/phase3/includes/db/DatabasePostgres.php       2011-12-15 21:08:43 UTC 
(rev 106369)
+++ trunk/phase3/includes/db/DatabasePostgres.php       2011-12-15 21:12:27 UTC 
(rev 106370)
@@ -624,7 +624,7 @@
        }
 
        function tableName( $name, $format = 'quoted' ) {
-               global $wgSharedDB, $wgSharedTables, $wgDBmwSchema;
+               global $wgSharedDB, $wgSharedTables, $wgDBmwschema;
                # Skip quoted tablenames.
                if ( $this->isQuotedIdentifier( $name ) ) {
                        return $name;
@@ -659,13 +659,13 @@
                        }
                }
                if ( !isset( $schema )) {
-                       $schema = "\"{$wgDBmwSchema}\".";
+                       $schema = "\"{$wgDBmwschema}\".";
                } else {
                        # keep old schema, but quote it.
                        $schema = "\"{$schema}\".";
                }
-               # during installation wgDBmwSchema is not set, so we would end 
up quering
-               # ""."table" => error. Erase the first part if wgDBmwSchema is 
empty
+               # during installation wgDBmwschema is not set, so we would end 
up quering
+               # ""."table" => error. Erase the first part if wgDBmwschema is 
empty
                if ( $schema == "\"\"." ) {
                        $schema = "";
                }


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

Reply via email to