diff options
author | intrigeri <intrigeri@boum.org> | 2009-01-01 22:20:54 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2009-01-01 22:20:54 +0100 |
commit | a5de24ec9700c56f8945668c3647b45a7a9b71c2 (patch) | |
tree | d7aead816023e0767a84d8e6b689e0554798d9ac /IkiWiki | |
parent | 09d0321f1529e53d315908567bd6b374bb572b08 (diff) |
skeleton plugin: added the canrename and canremove hooks
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/skeleton.pm.example | 18 |
1 files changed, 17 insertions, 1 deletions
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 ($$$) { |