aboutsummaryrefslogtreecommitdiffstats
path: root/includes/HTMLFileCache.php
diff options
context:
space:
mode:
authorAaron Schulz <aaron@users.mediawiki.org>2009-01-02 16:04:13 +0000
committerAaron Schulz <aaron@users.mediawiki.org>2009-01-02 16:04:13 +0000
commit07c4b538a66fbd824d2e45fd0041b87b76305f1c (patch)
tree3d73391edf71079e40334a84c6281b18c26f68b1 /includes/HTMLFileCache.php
parent82c0328abf2d877653c18e8fed2cd3d673fa8a09 (diff)
downloadmediawikicore-07c4b538a66fbd824d2e45fd0041b87b76305f1c.tar.gz
mediawikicore-07c4b538a66fbd824d2e45fd0041b87b76305f1c.zip
Simplify type check
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/45321
Diffstat (limited to 'includes/HTMLFileCache.php')
-rw-r--r--includes/HTMLFileCache.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/includes/HTMLFileCache.php b/includes/HTMLFileCache.php
index 5e42389c49a4..833d718dea3f 100644
--- a/includes/HTMLFileCache.php
+++ b/includes/HTMLFileCache.php
@@ -24,7 +24,6 @@ class HTMLFileCache {
public function __construct( &$title, $type = 'view' ) {
$this->mTitle = $title;
- $type = $type ? $type : 'view';
$this->mType = ($type == 'raw' || $type == 'view' ) ? $type : false;
$this->fileCacheName(); // init name
}