loadstate needs to be called even if no pages are being built

master
Joey Hess 2007-12-16 19:40:50 -05:00
parent f40c6928f4
commit f373b09bf9
1 changed files with 2 additions and 1 deletions

View File

@ -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);