clear %pagestate in loadindex

This is to handle the case where loadindex is called multiple times in one run,
as when aggregating.
master
Joey Hess 2008-02-03 03:25:47 -05:00
parent 1f6591f0a6
commit 09187f83bc
1 changed files with 1 additions and 1 deletions

View File

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