Index: trunk/phase3/includes/db/DatabaseOracle.php |
— | — | @@ -179,7 +179,8 @@ |
180 | 180 | function __construct( $server = false, $user = false, $password = false, $dbName = false, |
181 | 181 | $flags = 0, $tablePrefix = 'get from global' ) |
182 | 182 | { |
183 | | - $tablePrefix = $tablePrefix == 'get from global' ? $tablePrefix : strtoupper( $tablePrefix ); |
| 183 | + global $wgDBprefix; |
| 184 | + $tablePrefix = $tablePrefix == 'get from global' ? strtoupper( $wgDBprefix ) : strtoupper( $tablePrefix ); |
184 | 185 | parent::__construct( $server, $user, $password, $dbName, $flags, $tablePrefix ); |
185 | 186 | wfRunHooks( 'DatabaseOraclePostInit', array( $this ) ); |
186 | 187 | } |