dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82c0328
)
Simplify type check
author
Aaron Schulz
<aaron@users.mediawiki.org>
Fri, 2 Jan 2009 16:04:13 +0000
(16:04 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Fri, 2 Jan 2009 16:04:13 +0000
(16:04 +0000)
includes/HTMLFileCache.php
patch
|
blob
|
history
diff --git
a/includes/HTMLFileCache.php
b/includes/HTMLFileCache.php
index
5e42389
..
833d718
100644
(file)
--- 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
}