From: Jeroen De Dauw Date: Mon, 19 Mar 2012 20:05:11 +0000 (+0000) Subject: fix for r114164 X-Git-Tag: 1.31.0-rc.0~24195 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=0b77d229d02f55fa70dbbfd664bcef22c73ffe60;p=lhc%2Fweb%2Fwiklou.git fix for r114164 --- diff --git a/includes/specials/SpecialCachedPage.php b/includes/specials/SpecialCachedPage.php index f2c93faf69..9c44e925e8 100644 --- a/includes/specials/SpecialCachedPage.php +++ b/includes/specials/SpecialCachedPage.php @@ -135,7 +135,7 @@ abstract class SpecialCachedPage extends SpecialPage { * @since 1.20 */ protected function initCaching() { - if ( is_null( $this->hasCached ) ) { + if ( $this->cacheEnabled && is_null( $this->hasCached ) ) { $cachedChunks = wfGetCache( CACHE_ANYTHING )->get( $this->getCacheKeyString() ); $this->hasCached = is_array( $cachedChunks );