http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97980
Revision: 97980
Author: aaron
Date: 2011-09-24 00:55:49 +0000 (Sat, 24 Sep 2011)
Log Message:
-----------
FU r97978: removed more raw page file cache code
Modified Paths:
--------------
trunk/phase3/includes/RawPage.php
Modified: trunk/phase3/includes/RawPage.php
===================================================================
--- trunk/phase3/includes/RawPage.php 2011-09-24 00:53:14 UTC (rev 97979)
+++ trunk/phase3/includes/RawPage.php 2011-09-24 00:55:49 UTC (rev 97980)
@@ -128,18 +128,6 @@
$mode = $this->mPrivateCache ? 'private' : 'public';
header( 'Cache-Control: ' . $mode . ', s-maxage=' .
$this->mSmaxage . ', max-age=' . $this->mMaxage );
- global $wgUseFileCache;
- if( $wgUseFileCache && HTMLFileCache::useFileCache() ) {
- $cache = new HTMLFileCache( $this->mTitle, 'raw' );
- if( $cache->isFileCacheGood( /* Assume up to date */ )
) {
- $cache->loadFromFileCache();
- $wgOut->disable();
- return;
- } else {
- ob_start( array( &$cache, 'saveToFileCache' ) );
- }
- }
-
$text = $this->getRawText();
if( !wfRunHooks( 'RawPageViewBeforeOutput', array( &$this,
&$text ) ) ) {
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs