]> sipb.mit.edu Git - ikiwiki.git/commitdiff
remove prototype from renamehook
authorJoey Hess <joey@gnu.kitenet.net>
Mon, 20 Jul 2009 05:11:22 +0000 (07:11 +0200)
committerJoey 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

index d0e5894dcac9e135f83794493c00cd75cea17527..c3e03496fec167591ad6564e97bff45c3e544641 100644 (file)
@@ -480,7 +480,7 @@ sub renamepage_hook ($$$$) {
        return $content;
 }
 
        return $content;
 }
 
-sub rename_hook (@) {
+sub rename_hook {
        my %params = @_;
 
        my @torename=@{$params{torename}};
        my %params = @_;
 
        my @torename=@{$params{torename}};