From a5de24ec9700c56f8945668c3647b45a7a9b71c2 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Thu, 1 Jan 2009 22:20:54 +0100 Subject: [PATCH] skeleton plugin: added the canrename and canremove hooks Signed-off-by: intrigeri --- IkiWiki/Plugin/skeleton.pm.example | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) 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 ($$$) { -- 2.26.2