}
}
- self::purgeTagUsageCache();
-
Hooks::run( 'ChangeTagsAfterUpdateTags', [ $tagsToAdd, $tagsToRemove, $prevTags,
$rc_id, $rev_id, $log_id, $params, $rc, $user ] );
$cache->touchCheckKey( $cache->makeKey( 'valid-tags-hook' ) );
MediaWikiServices::getInstance()->getChangeTagDefStore()->reloadMap();
-
- self::purgeTagUsageCache();
}
/**
* Invalidates the tag statistics cache only.
* @since 1.25
+ * @deprecated since 1.33 the cache this purges no longer exists
*/
public static function purgeTagUsageCache() {
- $cache = MediaWikiServices::getInstance()->getMainWANObjectCache();
-
- $cache->touchCheckKey( $cache->makeKey( 'change-tag-statistics' ) );
+ wfDeprecated( __METHOD__, '1.33' );
}
/**