Index: trunk/phase3/includes/specials/SpecialCachedPage.php |
— | — | @@ -135,7 +135,7 @@ |
136 | 136 | * @since 1.20 |
137 | 137 | */ |
138 | 138 | protected function initCaching() { |
139 | | - if ( is_null( $this->hasCached ) ) { |
| 139 | + if ( $this->cacheEnabled && is_null( $this->hasCached ) ) { |
140 | 140 | $cachedChunks = wfGetCache( CACHE_ANYTHING )->get( $this->getCacheKeyString() ); |
141 | 141 | |
142 | 142 | $this->hasCached = is_array( $cachedChunks ); |