]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/opendiscussion.pm
po(scan): make more clear what's being done
[git.ikiwiki.info.git] / IkiWiki / Plugin / opendiscussion.pm
index c835f01061ea8a5364d369b768ebbada2fb6acfd..96a74aee832d31af0fd653a851f95b2044a56ded 100644 (file)
@@ -6,9 +6,18 @@ use strict;
 use IkiWiki 2.00;
 
 sub import { #{{{
+       hook(type => "getsetup", id => "opendiscussion", call => \&getsetup);
        hook(type => "canedit", id => "opendiscussion", call => \&canedit);
 } # }}}
 
+sub getsetup () { #{{{
+       return 
+               plugin => {
+                       safe => 1,
+                       rebuild => 0,
+               },
+} #}}}
+
 sub canedit ($$) { #{{{
        my $page=shift;
        my $cgi=shift;