X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/96817b00326b983299ce701532643f763259af89..300e69bbbd22e512f2473286893a413f215e1921:/IkiWiki/Plugin/aggregate.pm diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm index 0869d6d8f..68ff6a616 100644 --- a/IkiWiki/Plugin/aggregate.pm +++ b/IkiWiki/Plugin/aggregate.pm @@ -51,10 +51,11 @@ sub checkconfig () { #{{{ sub needsbuild (@) { #{{{ my $needsbuild=shift; + + loadstate(); # if not already loaded foreach my $page (keys %pagestate) { if (grep { $_ eq $pagesources{$page} } @$needsbuild) { - loadstate(); # if not already loaded # Mark all feeds originating on this page as removable; # preprocess will unmark those that still exist. remove_feeds($page);