autoindex: remove unnecessary special case for transient underlay

It's not clear that the transient underlay should be excluded from
indexing; see [[bugs/transient autocreated tagbase is not transient
autoindexed]].

In any case, the code that checks what directories might need indexes
specifically checks for the srcdir anyway, so the only effect this extra
check can have is negative (it could fail to notice files in the
transient underlay and attempt to recreate them unnecessarily).
master
Simon McVittie 2012-04-09 15:12:35 +01:00
parent 532d05be9e
commit 3ba2ef1a54
1 changed files with 0 additions and 1 deletions

View File

@ -71,7 +71,6 @@ sub refresh () {
my (%pages, %dirs);
foreach my $dir ($config{srcdir}, @{$config{underlaydirs}}, $config{underlaydir}) {
next if $dir eq $IkiWiki::Plugin::transient::transientdir;
chdir($dir) || next;
find({