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:
783aa87
)
Remove unused parameter
author
Jakub Vrana
<jakub@vrana.cz>
Sat, 1 Dec 2018 16:33:21 +0000
(17:33 +0100)
committer
Jakub Vrana
<jakub@vrana.cz>
Sat, 1 Dec 2018 16:33:21 +0000
(17:33 +0100)
Found by PHPStan.
Change-Id: I0480146fd7fce1d39db904f1c4b6dfa8314a74fe
includes/page/Article.php
patch
|
blob
|
history
diff --git
a/includes/page/Article.php
b/includes/page/Article.php
index
9f7f280
..
4b0d319
100644
(file)
--- a/
includes/page/Article.php
+++ b/
includes/page/Article.php
@@
-295,7
+295,7
@@
class Article implements Page {
$content = ContentHandler::makeContent( $text, $this->getTitle() );
} else {
$message = $this->getContext()->getUser()->isLoggedIn() ? 'noarticletext' : 'noarticletextanon';
- $content = new MessageContent( $message, null
, 'parsemag'
);
+ $content = new MessageContent( $message, null );
}
return $content;