aboutsummaryrefslogtreecommitdiffstats
path: root/includes/HTMLFileCache.php
diff options
context:
space:
mode:
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
}