Remove getMainWANInstance and getMainStashInstance functions
from ObjectCache as they were deprecated in 1.28 Change-Id: I133470a1c69c836f38b1ae5fecc05e50b70f4457
This commit is contained in:
parent
dafe226e8c
commit
9d5e3f56d5
2 changed files with 2 additions and 24 deletions
|
|
@ -430,6 +430,8 @@ because of Phabricator reports.
|
|||
* Revision::selectPageFields()
|
||||
* Revision::selectUserFields()
|
||||
* User::setNewpassword(), deprecated in 1.27 has been removed.
|
||||
* The ObjectCache::getMainWANInstance and ObjectCache::getMainStashInstance
|
||||
functions, deprecated since 1.28, have been removed.
|
||||
|
||||
=== Deprecations in 1.34 ===
|
||||
* The MWNamespace class is deprecated. Use NamespaceInfo.
|
||||
|
|
|
|||
|
|
@ -351,30 +351,6 @@ class ObjectCache {
|
|||
return self::getInstance( $wgMainCacheType );
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the main WAN cache object.
|
||||
*
|
||||
* @since 1.26
|
||||
* @return WANObjectCache
|
||||
* @deprecated Since 1.28 Use MediaWikiServices::getInstance()->getMainWANObjectCache()
|
||||
*/
|
||||
public static function getMainWANInstance() {
|
||||
wfDeprecated( __METHOD__, '1.28' );
|
||||
return MediaWikiServices::getInstance()->getMainWANObjectCache();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the cache object for the main stash.
|
||||
*
|
||||
* @return BagOStuff
|
||||
* @since 1.26
|
||||
* @deprecated Since 1.28 Use MediaWikiServices::getInstance()->getMainObjectStash()
|
||||
*/
|
||||
public static function getMainStashInstance() {
|
||||
wfDeprecated( __METHOD__, '1.28' );
|
||||
return MediaWikiServices::getInstance()->getMainObjectStash();
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear all the cached instances.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue