aboutsummaryrefslogtreecommitdiffstats
path: root/includes/HTMLFileCache.php
diff options
context:
space:
mode:
authorAaron Schulz <aaron@users.mediawiki.org>2009-01-02 16:27:05 +0000
committerAaron Schulz <aaron@users.mediawiki.org>2009-01-02 16:27:05 +0000
commite77f92fe3bd3ae40228c969603f612673ada4f78 (patch)
tree857df7463f44e297d1c65bb1e0324819221132e5 /includes/HTMLFileCache.php
parent07c4b538a66fbd824d2e45fd0041b87b76305f1c (diff)
downloadmediawikicore-e77f92fe3bd3ae40228c969603f612673ada4f78.tar.gz
mediawikicore-e77f92fe3bd3ae40228c969603f612673ada4f78.zip
Specify type here, rather than ''
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/45322
Diffstat (limited to 'includes/HTMLFileCache.php')
-rw-r--r--includes/HTMLFileCache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/HTMLFileCache.php b/includes/HTMLFileCache.php
index 833d718dea3f..ab3c964540e1 100644
--- a/includes/HTMLFileCache.php
+++ b/includes/HTMLFileCache.php
@@ -203,7 +203,7 @@ class HTMLFileCache {
public static function clearFileCache( $title ) {
global $wgUseFileCache;
if( !$wgUseFileCache ) return false;
- $fc = new self( $title, '' );
+ $fc = new self( $title, 'view' );
@unlink( $fc->fileCacheName() );
$fc = new self( $title, 'raw' );
@unlink( $fc->fileCacheName() );