diff options
author | David Riebenbauer <davrieb@liegesta.at> | 2010-04-03 21:17:20 +0200 |
---|---|---|
committer | David Riebenbauer <davrieb@liegesta.at> | 2010-04-03 22:20:48 +0200 |
commit | 628a52a6c49f5d2fc5af251f2d718c8dff5e8ed5 (patch) | |
tree | bfa9fa32d423d384e59867ea42c5318da7f5cdde /IkiWiki/Render.pm | |
parent | a358d74bef51dae31332ff27e897fe04834571e6 (diff) | |
download | ikiwiki-628a52a6c49f5d2fc5af251f2d718c8dff5e8ed5.tar ikiwiki-628a52a6c49f5d2fc5af251f2d718c8dff5e8ed5.tar.gz |
Revert "Revert the effects of find_del_files() for (re)autoadded files."
This reverts commit 31680111f0062f07727d14fcf291c98978ad5a2f.
Diffstat (limited to 'IkiWiki/Render.pm')
-rw-r--r-- | IkiWiki/Render.pm | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index 5b72b6de1..fc71c8919 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -392,9 +392,7 @@ sub find_del_files ($) { else { push @del, $pagesources{$page}; } - $dellinks{$page}= $links{$page}; $links{$page}=[]; - $delrenderedfiles{$page}= $renderedfiles{$page}; $renderedfiles{$page}=[]; $pagemtime{$page}=0; } @@ -644,14 +642,8 @@ sub refresh () { scan($file); } - my %del_hash = map {$_, 1} @$del; while (my $autofile = shift (@autofiles)) { my $page=pagename($autofile); - if (exists $del_hash{$page}) { - $links{$page}= $dellinks{$page}; - $renderedfiles{$page}= $delrenderedfiles{$page}; - delete $del_hash{$page}; - } if ($pages->{$page}) { debug(sprintf(gettext("%s has multiple possible source pages"), $page)); } @@ -663,7 +655,6 @@ sub refresh () { scan($autofile); } - $del = [keys %del_hash]; calculate_links(); |