From: Derick Alangi Date: Sat, 11 May 2019 15:00:56 +0000 (+0100) Subject: changetags: Remove deprecated unused method `purgeTagUsageCache()` X-Git-Tag: 1.34.0-rc.0~1712^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22lang_raccourcis%22%2C%22module=%24nom_module%22%29%20.%20%22?a=commitdiff_plain;h=05e08a2714aefdd672d36d282854e7a9605d4616;p=lhc%2Fweb%2Fwiklou.git changetags: Remove deprecated unused method `purgeTagUsageCache()` This method was hard deprecated in 1.33 in core and no longer used anymore. Usage ===== https://codesearch.wmflabs.org/search/?q=%5CbpurgeTagUsageCache%5Cb&i=nope&files=&repos= Bug: T220656 Change-Id: I79b364b8a95d9bbf9265c1efa844ff59d11f48aa --- diff --git a/RELEASE-NOTES-1.34 b/RELEASE-NOTES-1.34 index 8607e4afd3..faab1e41be 100644 --- a/RELEASE-NOTES-1.34 +++ b/RELEASE-NOTES-1.34 @@ -153,6 +153,7 @@ because of Phabricator reports. * User::getPasswordValidity(), deprecated in 1.33, has been removed. * ApiQueryBase::prepareUrlQuerySearchString(), deprecated in 1.33, has been removed. +* ChangeTags::purgeTagUsageCache(), deprecated in 1.33, has been removed. * … === Deprecations in 1.34 === diff --git a/includes/changetags/ChangeTags.php b/includes/changetags/ChangeTags.php index 06013975fe..9146429914 100644 --- a/includes/changetags/ChangeTags.php +++ b/includes/changetags/ChangeTags.php @@ -1470,15 +1470,6 @@ class ChangeTags { MediaWikiServices::getInstance()->getChangeTagDefStore()->reloadMap(); } - /** - * Invalidates the tag statistics cache only. - * @since 1.25 - * @deprecated since 1.33 the cache this purges no longer exists - */ - public static function purgeTagUsageCache() { - wfDeprecated( __METHOD__, '1.33' ); - } - /** * Returns a map of any tags used on the wiki to number of edits * tagged with them, ordered descending by the hitcount.