/**
* @return IDatabase
*/
- function getSlaveDB() {
+ function getReplicaDB() {
return $this->getMasterDB();
}
}
protected function assertWritableRepo() {
- throw new MWException( get_class( $this ) . ': write operations are not supported.' );
+ throw new MWException( static::class . ': write operations are not supported.' );
}
/**