changetags: Remove deprecated unused method `purgeTagUsageCache()`
authorDerick Alangi <alangiderick@gmail.com>
Sat, 11 May 2019 15:00:56 +0000 (16:00 +0100)
committerDerick Alangi <alangiderick@gmail.com>
Sat, 11 May 2019 15:03:01 +0000 (16:03 +0100)
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

RELEASE-NOTES-1.34
includes/changetags/ChangeTags.php

index 8607e4a..faab1e4 100644 (file)
@@ -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 ===
index 0601397..9146429 100644 (file)
@@ -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.