Specify type here, rather than ''
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 2 Jan 2009 16:27:05 +0000 (16:27 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 2 Jan 2009 16:27:05 +0000 (16:27 +0000)
includes/HTMLFileCache.php

index 833d718..ab3c964 100644 (file)
@@ -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() );