X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fobjectcache%2FObjectCache.php;h=87edc8bc2ed5a79b2bdf033c3ba75108a16f381d;hp=5e99ac9d701323547e4d464f0b063bb8e6526592;hb=9d5e3f56d55c81e68bace32dcfb039bc7e89c69d;hpb=dafe226e8c06f4e69ff6da63fad72a59342f4552 diff --git a/includes/objectcache/ObjectCache.php b/includes/objectcache/ObjectCache.php index 5e99ac9d70..87edc8bc2e 100644 --- a/includes/objectcache/ObjectCache.php +++ b/includes/objectcache/ObjectCache.php @@ -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. */