]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/skeleton.pm.example
fix previous buggy merge
[git.ikiwiki.info.git] / IkiWiki / Plugin / skeleton.pm.example
index 0bd5edeef748b328cfd869c2104860a1c0b6794f..7506816f19481afd9812cdde1acd9d81e64f19a2 100644 (file)
@@ -31,6 +31,7 @@ sub import {
        hook(type => "sessioncgi", id => "skeleton", call => \&sessioncgi);
        hook(type => "canedit", id => "skeleton", call => \&canedit);
        hook(type => "cansave", id => "skeleton", call => \&cansave);
+       hook(type => "checkcontent", id => "skeleton", call => \&checkcontent);
        hook(type => "editcontent", id => "skeleton", call => \&editcontent);
        hook(type => "formbuilder_setup", id => "skeleton", call => \&formbuilder_setup);
        hook(type => "formbuilder", id => "skeleton", call => \&formbuilder);
@@ -204,6 +205,11 @@ sub canrename ($$$) {
        my $session=shift;
 
        debug("skeleton plugin running in canrename");
+
+sub checkcontent (@) {
+       my %params=@_;
+
+       debug("skeleton plugin running in checkcontent");
 }
 
 sub editcontent ($$$) {