]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/recentchangesdiff.pm
Merge commit 'upstream/master'
[git.ikiwiki.info.git] / IkiWiki / Plugin / recentchangesdiff.pm
index 3942f308b05a86b5d4e7f0524fd756534a492391..36acef72ebccf8978c3c4e8348074ef4bca0565c 100644 (file)
@@ -8,10 +8,20 @@ use IkiWiki 2.00;
 my $maxlines=200;
 
 sub import { #{{{
+       hook(type => "getsetup", id => "recentchangesdiff",
+               call => \&getsetup);
        hook(type => "pagetemplate", id => "recentchangesdiff",
                call => \&pagetemplate);
 } #}}}
 
+sub getsetup () { #{{{
+       return 
+               plugin => {
+                       safe => 1,
+                       rebuild => 1,
+               },
+} #}}}
+
 sub pagetemplate (@) { #{{{
        my %params=@_;
        my $template=$params{template};