$this->mDescription = "Rebuild search index table from scratch";
}
- protected function getDbType() {
+ public function getDbType() {
return Maintenance::DB_ADMIN;
}
// Shouldn't be needed for Postgres
if ( $wgDBtype == 'postgres' ) {
- $this->error( "This script does not work with PostgreSQL.\n", true );
+ $this->error( "This script is not needed when using Postgres.\n", true );
}
$this->db = wfGetDB( DB_MASTER );