function submitConnectForm() {
// Get variables from the request
$newValues = $this->setVarsFromRequest( array(
- 'wgDBserver', 'wgDBport','wgDBname', 'wgDBmwschema',
+ 'wgDBserver', 'wgDBport', 'wgDBname', 'wgDBmwschema',
'_InstallUser', '_InstallPassword'
) );
protected function openConnectionWithParams( $user, $password, $dbName, $schema ) {
$status = Status::newGood();
try {
- $db = Database::factory( 'postgres', array(
+ $db = DatabaseBase::factory( 'postgres', array(
'host' => $this->getVar( 'wgDBserver' ),
'user' => $user,
'password' => $password,