Index: trunk/phase3/includes/RawPage.php |
— | — | @@ -128,18 +128,6 @@ |
129 | 129 | $mode = $this->mPrivateCache ? 'private' : 'public'; |
130 | 130 | header( 'Cache-Control: ' . $mode . ', s-maxage=' . $this->mSmaxage . ', max-age=' . $this->mMaxage ); |
131 | 131 | |
132 | | - global $wgUseFileCache; |
133 | | - if( $wgUseFileCache && HTMLFileCache::useFileCache() ) { |
134 | | - $cache = new HTMLFileCache( $this->mTitle, 'raw' ); |
135 | | - if( $cache->isFileCacheGood( /* Assume up to date */ ) ) { |
136 | | - $cache->loadFromFileCache(); |
137 | | - $wgOut->disable(); |
138 | | - return; |
139 | | - } else { |
140 | | - ob_start( array( &$cache, 'saveToFileCache' ) ); |
141 | | - } |
142 | | - } |
143 | | - |
144 | 132 | $text = $this->getRawText(); |
145 | 133 | |
146 | 134 | if( !wfRunHooks( 'RawPageViewBeforeOutput', array( &$this, &$text ) ) ) { |