projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f40c692
)
loadstate needs to be called even if no pages are being built
author
Joey Hess
<joey@kitenet.net>
Mon, 17 Dec 2007 00:40:50 +0000
(19:40 -0500)
committer
Joey Hess
<joey@kitenet.net>
Mon, 17 Dec 2007 00:40:50 +0000
(19:40 -0500)
IkiWiki/Plugin/aggregate.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/aggregate.pm
b/IkiWiki/Plugin/aggregate.pm
index 0869d6d8fdbe5da54e1a4fa1fa071df70346b3bd..68ff6a6167499730ec964207f33735c770d8f565 100644
(file)
--- 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);