diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-02-03 03:25:47 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-02-03 03:25:47 -0500 |
commit | 09187f83bc8e022df24de534861e4f6a6026b3f9 (patch) | |
tree | 43603ecfa1622995f0858bc8c0d52d84551a19fa /IkiWiki.pm | |
parent | 1f6591f0a61415777a662d979c5c142c7f4ad7cd (diff) | |
download | ikiwiki-09187f83bc8e022df24de534861e4f6a6026b3f9.tar ikiwiki-09187f83bc8e022df24de534861e4f6a6026b3f9.tar.gz |
clear %pagestate in loadindex
This is to handle the case where loadindex is called multiple times in one run,
as when aggregating.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r-- | IkiWiki.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index 050d4e5b2..8172552cb 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -884,7 +884,7 @@ sub loadindex () { #{{{ %oldrenderedfiles=%pagectime=(); if (! $config{rebuild}) { %pagesources=%pagemtime=%oldlinks=%links=%depends= - %destsources=%renderedfiles=%pagecase=(); + %destsources=%renderedfiles=%pagecase=%pagestate=(); } open (my $in, "<", "$config{wikistatedir}/index") || return; while (<$in>) { |