X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/22d982243716bb04f56e4e78e573e3ec49077309..0e7b18d909bb70b407c9da14140e69dd80116385:/IkiWiki/Plugin/skeleton.pm.example?ds=sidebyside diff --git a/IkiWiki/Plugin/skeleton.pm.example b/IkiWiki/Plugin/skeleton.pm.example index 708d92830..7974d5e53 100644 --- a/IkiWiki/Plugin/skeleton.pm.example +++ b/IkiWiki/Plugin/skeleton.pm.example @@ -18,7 +18,6 @@ sub import { hook(type => "filter", id => "skeleton", call => \&filter); hook(type => "linkify", id => "skeleton", call => \&linkify); hook(type => "scan", id => "skeleton", call => \&scan); - hook(type => "rescan", id => "skeleton", call => \&rescan); hook(type => "htmlize", id => "skeleton", call => \&htmlize); hook(type => "sanitize", id => "skeleton", call => \&sanitize); hook(type => "indexhtml", id => "skeleton", call => \&indexhtml); @@ -74,7 +73,11 @@ sub refresh () { } sub needsbuild ($) { + my $needsbuild=shift; + debug("skeleton plugin needsbuild"); + + return $needsbuild; } sub preprocess (@) { @@ -105,12 +108,6 @@ sub scan (@) { debug("skeleton plugin running as scan"); } -sub rescan (@) { - my %params=@_; - - debug("skeleton plugin running as rescan"); -} - sub htmlize (@) { my %params=@_; @@ -262,7 +259,7 @@ sub genwrapper () { debug("skeleton plugin running in genwrapper"); } -sub savestate () { +sub disable () { debug("skeleton plugin running in disable"); }