X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/03ab2623194009bf3cb82747c59dbf565b89e7bf..844169c9b06830df33ccde8abead015128baa496:/IkiWiki/Plugin/skeleton.pm.example diff --git a/IkiWiki/Plugin/skeleton.pm.example b/IkiWiki/Plugin/skeleton.pm.example index 5fb391b0d..573510191 100644 --- a/IkiWiki/Plugin/skeleton.pm.example +++ b/IkiWiki/Plugin/skeleton.pm.example @@ -37,7 +37,7 @@ sub import { hook(type => "formbuilder_setup", id => "skeleton", call => \&formbuilder_setup); hook(type => "formbuilder", id => "skeleton", call => \&formbuilder); hook(type => "renamepage", id => "skeleton", call => \&renamepage); - hook(type => "rename", id => "skeleton", call => \&renamepages); + hook(type => "rename", id => "skeleton", call => \&rename); hook(type => "savestate", id => "skeleton", call => \&savestate); } @@ -229,8 +229,8 @@ sub renamepage (@) { debug("skeleton plugin running in renamepage"); } -sub renamepages ($$$) { - my ($torename, $cgi, $session) = (shift, shift, shift); +sub rename (@) { + my %params=@_; debug("skeleton plugin running in rename"); }