Remove ExternalStoreDB::getSlave
It has been deprecated since 1.34 and it is unused. Change-Id: I4771e31baadf38b96ef54efe36e30958ea56e1d4
This commit is contained in:
parent
b345cbffa0
commit
bd830cb2f8
2 changed files with 2 additions and 12 deletions
|
|
@ -259,6 +259,8 @@ because of Phabricator reports.
|
|||
service container.
|
||||
* ApiQueryBase::showHiddenUsersAddBlockInfo(), deprecated in 1.34, has been
|
||||
removed. Use ApiQueryBlockInfoTrait instead.
|
||||
* ExternalStoreDB::getSlave(), deprecated in 1.34, has been removed. Use
|
||||
ExternalStoreDB::getReplica() instead.
|
||||
* …
|
||||
|
||||
=== Deprecations in 1.39 ===
|
||||
|
|
|
|||
|
|
@ -171,18 +171,6 @@ class ExternalStoreDB extends ExternalStoreMedium {
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a replica DB connection for the specified cluster
|
||||
*
|
||||
* @param string $cluster Cluster name
|
||||
* @return DBConnRef
|
||||
* @deprecated since 1.34
|
||||
*/
|
||||
public function getSlave( $cluster ) {
|
||||
wfDeprecated( __METHOD__, '1.34' );
|
||||
return $this->getReplica( $cluster );
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a primary database connection for the specified cluster
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue