Use touchCheckKey when purging tag usage stats
authorcenarium <cenarium.sysop@gmail.com>
Fri, 15 May 2015 19:36:22 +0000 (21:36 +0200)
committercenarium <cenarium.sysop@gmail.com>
Fri, 15 May 2015 19:36:22 +0000 (21:36 +0200)
Follow up on Ieec931c4211323ae7b838c783e45e1a83a7bb6a1.

Change-Id: I0bcab781baeaa3f7475ef0df43389645a37a2e37

includes/changetags/ChangeTags.php

index 7da25fe..a730116 100644 (file)
@@ -1164,7 +1164,7 @@ class ChangeTags {
        public static function purgeTagUsageCache() {
                $cache = ObjectCache::getMainWANInstance();
 
-               $cache->delete( wfMemcKey( 'change-tag-statistics' ) );
+               $cache->touchCheckKey( wfMemcKey( 'change-tag-statistics' ) );
        }
 
        /**