diff options
author | intrigeri <intrigeri@boum.org> | 2009-01-26 23:02:31 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2009-01-26 23:02:31 +0100 |
commit | f02672c113813c37a659991ae984a2368e15b8db (patch) | |
tree | 0594363b50f3ffb9ffa6fee6d0965538ae367977 /IkiWiki/Plugin/skeleton.pm.example | |
parent | e0e94d47162840b01677f4a97c5f581d194ff0fb (diff) | |
download | ikiwiki-f02672c113813c37a659991ae984a2368e15b8db.tar ikiwiki-f02672c113813c37a659991ae984a2368e15b8db.tar.gz |
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.example | 6 |
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"); } |