projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
741c335
)
remove prototype from renamehook
author
Joey Hess
<joey@gnu.kitenet.net>
Mon, 20 Jul 2009 05:11:22 +0000
(07:11 +0200)
committer
Joey Hess
<joey@gnu.kitenet.net>
Mon, 20 Jul 2009 05:11:22 +0000
(07:11 +0200)
Recursive calls make perl whine about protypes, and it wasn't
adding any value.
IkiWiki/Plugin/rename.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/rename.pm
b/IkiWiki/Plugin/rename.pm
index d0e5894dcac9e135f83794493c00cd75cea17527..c3e03496fec167591ad6564e97bff45c3e544641 100644
(file)
--- a/
IkiWiki/Plugin/rename.pm
+++ b/
IkiWiki/Plugin/rename.pm
@@
-480,7
+480,7
@@
sub renamepage_hook ($$$$) {
return $content;
}
-sub rename_hook
(@)
{
+sub rename_hook {
my %params = @_;
my @torename=@{$params{torename}};