From 0b77d229d02f55fa70dbbfd664bcef22c73ffe60 Mon Sep 17 00:00:00 2001 From: Jeroen De Dauw Date: Mon, 19 Mar 2012 20:05:11 +0000 Subject: [PATCH] fix for r114164 --- includes/specials/SpecialCachedPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1