]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/version.pm
factored out an urlabs from aggregate and cgi
[git.ikiwiki.info.git] / IkiWiki / Plugin / version.pm
index 3526dafde5bb4df0403aebda6c9bca5e3aadb86e..fc265526c15e41682efec8c7702d3a54e5efcf17 100644 (file)
@@ -4,7 +4,7 @@ package IkiWiki::Plugin::version;
 
 use warnings;
 use strict;
 
 use warnings;
 use strict;
-use IkiWiki 2.00;
+use IkiWiki 3.00;
 
 sub import {
        hook(type => "getsetup", id => "version", call => \&getsetup);
 
 sub import {
        hook(type => "getsetup", id => "version", call => \&getsetup);
@@ -17,6 +17,7 @@ sub getsetup () {
                plugin => {
                        safe => 1,
                        rebuild => undef,
                plugin => {
                        safe => 1,
                        rebuild => undef,
+                       section => "widget",
                },
 }
 
                },
 }
 
@@ -36,6 +37,7 @@ sub needsbuild (@) {
                        }
                }
        }
                        }
                }
        }
+       return $needsbuild;
 }
 
 sub preprocess (@) {
 }
 
 sub preprocess (@) {