projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ced599
)
avoid unnecessary variable
author
Joey Hess
<joey@kodama.kitenet.net>
Fri, 12 Dec 2008 20:08:06 +0000
(15:08 -0500)
committer
Joey Hess
<joey@kodama.kitenet.net>
Fri, 12 Dec 2008 20:08:06 +0000
(15:08 -0500)
IkiWiki/Plugin/comments.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/comments.pm
b/IkiWiki/Plugin/comments.pm
index 0de7a67436c709cd351536abbd4988e14af994e3..f612f89475dd6450c8128b3a974c6c60bddc1936 100644
(file)
--- a/
IkiWiki/Plugin/comments.pm
+++ b/
IkiWiki/Plugin/comments.pm
@@
-558,7
+558,7
@@
sub pagetemplate (@) { #{{{
eval q{use IkiWiki::Plugin::inline};
error($@) if $@;
-
my @args =
(
+
$comments = IkiWiki::preprocess_inline
(
pages => "internal($page/${comments_pagename}*)",
template => 'comments_display',
show => 0,
@@
-568,7
+568,6
@@
sub pagetemplate (@) { #{{{
feedfile => 'comments',
emptyfeeds => 'no',
);
- $comments = IkiWiki::preprocess_inline(@args);
}
if (defined $comments && length $comments) {