From: Tim Starling Date: Fri, 4 Jun 2004 12:31:32 +0000 (+0000) Subject: bug fix X-Git-Tag: 1.5.0alpha1~3039 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=797e29aead0b2ed99a03fab0abdadb88ecdcde02;p=lhc%2Fweb%2Fwiklou.git bug fix --- diff --git a/includes/ParserCache.php b/includes/ParserCache.php index 9b828b0124..8634a3b7d6 100644 --- a/includes/ParserCache.php +++ b/includes/ParserCache.php @@ -25,6 +25,7 @@ class ParserCache # Delete if article has changed since the cache was made $canCache = $article->checkTouched(); $cacheTime = $value->getCacheTime(); + $touched = $article->mTouched; if ( !$canCache || $value->getCacheTime() <= $touched || $cacheTime < $wgCacheEpoch ) { if ( !$canCache ) { wfDebug( "Invalid cached redirect, touched $touched, epoch $wgCacheEpoch, cached $cacheTime\n" );