summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-07-20 07:11:22 +0200
committerJoey Hess <joey@gnu.kitenet.net>2009-07-20 07:11:22 +0200
commit9d9826a3d29ca30802399ae2e66b4d457eccd2be (patch)
tree4a97a4b7448d4b98d5d6d887bd59cb9167a39c01 /IkiWiki
parent741c33576e358d555e623a49d42edd33924a19ab (diff)
remove prototype from renamehook
Recursive calls make perl whine about protypes, and it wasn't adding any value.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/rename.pm2
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}};