summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/skeleton.pm.example
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2009-01-26 23:02:31 +0100
committerintrigeri <intrigeri@boum.org>2009-01-26 23:02:31 +0100
commitf02672c113813c37a659991ae984a2368e15b8db (patch)
tree0594363b50f3ffb9ffa6fee6d0965538ae367977 /IkiWiki/Plugin/skeleton.pm.example
parente0e94d47162840b01677f4a97c5f581d194ff0fb (diff)
only pass named parameters to the canrename hook
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'IkiWiki/Plugin/skeleton.pm.example')
-rw-r--r--IkiWiki/Plugin/skeleton.pm.example6
1 files changed, 2 insertions, 4 deletions
diff --git a/IkiWiki/Plugin/skeleton.pm.example b/IkiWiki/Plugin/skeleton.pm.example
index f5e401c05..ec5a0c725 100644
--- a/IkiWiki/Plugin/skeleton.pm.example
+++ b/IkiWiki/Plugin/skeleton.pm.example
@@ -191,10 +191,8 @@ sub canremove ($$$) {
debug("skeleton plugin running in canremove");
}
-sub canrename ($$$) {
- my $page=shift;
- my $cgi=shift;
- my $session=shift;
+sub canrename (@) {
+ my %params=@_;
debug("skeleton plugin running in canrename");
}