diff options
author | intrigeri <intrigeri@boum.org> | 2009-01-26 23:07:19 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2009-01-26 23:07:19 +0100 |
commit | 78a095aa42acf19b5b28ca402d14e88e6dcf5c3b (patch) | |
tree | 5096ecb3986e9d3955cb55b7c91113c15411fe81 /IkiWiki/Plugin/skeleton.pm.example | |
parent | f02672c113813c37a659991ae984a2368e15b8db (diff) |
only pass named parameters to the canremove 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 ec5a0c725..6a97fb2f2 100644 --- a/IkiWiki/Plugin/skeleton.pm.example +++ b/IkiWiki/Plugin/skeleton.pm.example @@ -183,10 +183,8 @@ sub canedit ($$$) { debug("skeleton plugin running in canedit"); } -sub canremove ($$$) { - my $page=shift; - my $cgi=shift; - my $session=shift; +sub canremove (@) { + my %params=@_; debug("skeleton plugin running in canremove"); } |