Index: trunk/phase3/includes/db/DatabasePostgres.php |
— | — | @@ -624,7 +624,7 @@ |
625 | 625 | } |
626 | 626 | |
627 | 627 | function tableName( $name, $format = 'quoted' ) { |
628 | | - global $wgSharedDB, $wgSharedTables, $wgDBmwSchema; |
| 628 | + global $wgSharedDB, $wgSharedTables, $wgDBmwschema; |
629 | 629 | # Skip quoted tablenames. |
630 | 630 | if ( $this->isQuotedIdentifier( $name ) ) { |
631 | 631 | return $name; |
— | — | @@ -659,13 +659,13 @@ |
660 | 660 | } |
661 | 661 | } |
662 | 662 | if ( !isset( $schema )) { |
663 | | - $schema = "\"{$wgDBmwSchema}\"."; |
| 663 | + $schema = "\"{$wgDBmwschema}\"."; |
664 | 664 | } else { |
665 | 665 | # keep old schema, but quote it. |
666 | 666 | $schema = "\"{$schema}\"."; |
667 | 667 | } |
668 | | - # during installation wgDBmwSchema is not set, so we would end up quering |
669 | | - # ""."table" => error. Erase the first part if wgDBmwSchema is empty |
| 668 | + # during installation wgDBmwschema is not set, so we would end up quering |
| 669 | + # ""."table" => error. Erase the first part if wgDBmwschema is empty |
670 | 670 | if ( $schema == "\"\"." ) { |
671 | 671 | $schema = ""; |
672 | 672 | } |