]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/version.pm
needsbuild hook interface changed; the hooks should now return the modified array...
[ikiwiki.git] / IkiWiki / Plugin / version.pm
index 587cd55fa8f608fc2309d23eaa91ad1e32539c62..fc265526c15e41682efec8c7702d3a54e5efcf17 100644 (file)
@@ -17,6 +17,7 @@ sub getsetup () {
                plugin => {
                        safe => 1,
                        rebuild => undef,
+                       section => "widget",
                },
 }
 
@@ -36,6 +37,7 @@ sub needsbuild (@) {
                        }
                }
        }
+       return $needsbuild;
 }
 
 sub preprocess (@) {