From: Aaron Schulz Date: Fri, 2 Jan 2009 16:04:13 +0000 (+0000) Subject: Simplify type check X-Git-Tag: 1.31.0-rc.0~43621 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=07c4b538a66fbd824d2e45fd0041b87b76305f1c;p=lhc%2Fweb%2Fwiklou.git Simplify type check --- diff --git a/includes/HTMLFileCache.php b/includes/HTMLFileCache.php index 5e42389c49..833d718dea 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 }