Fix purge method used in purgePatrolFooterCache()
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 13 Jan 2016 17:41:49 +0000 (09:41 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 13 Jan 2016 17:41:49 +0000 (09:41 -0800)
Change-Id: I62ed843ac9755e39c6693fa33594067689fd6e0f

includes/page/Article.php

index 22e24ae..c9af075 100644 (file)
@@ -1229,7 +1229,7 @@ class Article implements Page {
         */
        public static function purgePatrolFooterCache( $articleID ) {
                $cache = ObjectCache::getMainWANInstance();
-               $cache->touchCheckKey( wfMemcKey( 'unpatrollable-page', $articleID ) );
+               $cache->delete( wfMemcKey( 'unpatrollable-page', $articleID ) );
        }
 
        /**