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; |
629 | 629 | # Skip quoted tablenames. |
630 | 630 | if ( $this->isQuotedIdentifier( $name ) ) { |
631 | 631 | return $name; |
— | — | @@ -643,7 +643,7 @@ |
644 | 644 | $dbDetails = explode( '.', $name, 2 ); |
645 | 645 | if ( isset( $dbDetails[1] ) ) { |
646 | 646 | $schema = '"' . $dbDetails[0] . '".'; |
647 | | - $table = $dbDetails [1]; |
| 647 | + $table = $dbDetails[1]; |
648 | 648 | } else { |
649 | 649 | $schema = ""; # do NOT force the schema (due to temporary tables) |
650 | 650 | $table = $dbDetails[0]; |