summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/skeleton.pm.example4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/skeleton.pm.example b/IkiWiki/Plugin/skeleton.pm.example
index 5fb391b0d..62eeaf51d 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,7 +229,7 @@ sub renamepage (@) {
debug("skeleton plugin running in renamepage");
}
-sub renamepages ($$$) {
+sub rename ($$$) {
my ($torename, $cgi, $session) = (shift, shift, shift);
debug("skeleton plugin running in rename");