From: Joey Hess Date: Mon, 20 Jul 2009 05:11:22 +0000 (+0200) Subject: remove prototype from renamehook X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/9d9826a3d29ca30802399ae2e66b4d457eccd2be?ds=inline remove prototype from renamehook Recursive calls make perl whine about protypes, and it wasn't adding any value. --- diff --git a/IkiWiki/Plugin/rename.pm b/IkiWiki/Plugin/rename.pm index d0e5894dc..c3e03496f 100644 --- 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}};