diff options
author | Joey Hess <joey@kitenet.net> | 2007-12-16 19:40:50 -0500 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2007-12-16 19:40:50 -0500 |
commit | f373b09bf95865b5ea4167434a87c5d497d9df4b (patch) | |
tree | a7279c5ad512f499ce3d6b3c24387ec7e311358f | |
parent | f40c6928f48211d705d58416b96601d632c4237d (diff) | |
download | ikiwiki-f373b09bf95865b5ea4167434a87c5d497d9df4b.tar ikiwiki-f373b09bf95865b5ea4167434a87c5d497d9df4b.tar.gz |
loadstate needs to be called even if no pages are being built
-rw-r--r-- | IkiWiki/Plugin/aggregate.pm | 3 |
1 files changed, 2 insertions, 1 deletions
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); |