From: Aaron Schulz Date: Wed, 13 Jan 2016 17:41:49 +0000 (-0800) Subject: Fix purge method used in purgePatrolFooterCache() X-Git-Tag: 1.31.0-rc.0~8348^2 X-Git-Url: http://git.cyclocoop.org/%27.parametre_url%28%20%20%20generer_action_auteur%28%27charger_plugin%27%2C%20%27update_flux%27%29%2C%27update_flux%27%2C%20%27oui%27%29.%27?a=commitdiff_plain;h=0b3e2ff21f133fc24a0b39260217c798abc82a59;p=lhc%2Fweb%2Fwiklou.git Fix purge method used in purgePatrolFooterCache() Change-Id: I62ed843ac9755e39c6693fa33594067689fd6e0f --- diff --git a/includes/page/Article.php b/includes/page/Article.php index 22e24aef46..c9af07504b 100644 --- a/includes/page/Article.php +++ b/includes/page/Article.php @@ -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 ) ); } /**