clear %pagestate in loadindex
This is to handle the case where loadindex is called multiple times in one run, as when aggregating.master
parent
1f6591f0a6
commit
09187f83bc
|
@ -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>) {
|
||||
|
|
Loading…
Reference in New Issue