diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-07-20 07:11:22 +0200 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-07-20 07:11:22 +0200 |
commit | 9d9826a3d29ca30802399ae2e66b4d457eccd2be (patch) | |
tree | 4a97a4b7448d4b98d5d6d887bd59cb9167a39c01 | |
parent | 741c33576e358d555e623a49d42edd33924a19ab (diff) |
remove prototype from renamehook
Recursive calls make perl whine about protypes, and it wasn't
adding any value.
-rw-r--r-- | IkiWiki/Plugin/rename.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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}}; |