Previously they were calling Database:: which is a nonexistent class.
Change-Id: I73b2ed4722c9108b6a00c8c0cabbda9564378b4b
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,
return false;
}
- function indexInfo( $table, $index, $fname = 'Database::indexInfo' ) {
+ function indexInfo( $table, $index, $fname = 'DatabaseBase::indexInfo' ) {
return false;
}