From: intrigeri Date: Thu, 1 Jan 2009 21:20:54 +0000 (+0100) Subject: skeleton plugin: added the canrename and canremove hooks X-Git-Tag: 3.15~288 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a5de24ec9700c56f8945668c3647b45a7a9b71c2;p=ikiwiki.git skeleton plugin: added the canrename and canremove hooks Signed-off-by: intrigeri --- diff --git a/IkiWiki/Plugin/skeleton.pm.example b/IkiWiki/Plugin/skeleton.pm.example index 496a4dfe4..ea7500a70 100644 --- a/IkiWiki/Plugin/skeleton.pm.example +++ b/IkiWiki/Plugin/skeleton.pm.example @@ -187,7 +187,23 @@ sub cansave ($$$$) { my $cgi=shift; my $session=shift; - debug("skeleton plugin running in cansave") + debug("skeleton plugin running in cansave"); +} + +sub canremove ($$$) { + my $page=shift; + my $cgi=shift; + my $session=shift; + + debug("skeleton plugin running in canremove"); +} + +sub canrename ($$$) { + my $page=shift; + my $cgi=shift; + my $session=shift; + + debug("skeleton plugin running in canrename"); } sub editcontent ($$$) {