]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/remove.pm
use srcfile/destfile
[git.ikiwiki.info.git] / IkiWiki / Plugin / remove.pm
index a886956b28ce72a7b62063a6284f84623b942ab9..9666408bc77ab332866b936f03e3d6dfd5f36fb6 100644 (file)
@@ -6,12 +6,21 @@ use strict;
 use IkiWiki 2.00;
 
 sub import { #{{{
+       hook(type => "getsetup", id => "remove", call => \&getsetup);
        hook(type => "formbuilder_setup", id => "remove", call => \&formbuilder_setup);
        hook(type => "formbuilder", id => "remove", call => \&formbuilder);
        hook(type => "sessioncgi", id => "remove", call => \&sessioncgi);
 
 } # }}}
 
+sub getsetup () { #{{{
+       return 
+               plugin => {
+                       safe => 1,
+                       rebuild => 0,
+               },
+} #}}}
+
 sub check_canremove ($$$$) { #{{{
        my $page=shift;
        my $q=shift;