summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-02-03 14:51:03 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-02-03 14:51:03 -0500
commite57749b702137b925064b60120ea22a98965c7d5 (patch)
treebfd615f2daafd8bd31c867d43b365f3ea7e6cd98 /IkiWiki/Plugin
parent340fe9707c61064774658e6ec2aec3b07b33c120 (diff)
* recentchanges: Exipre all *._change pages, even if the directory
they're in has changed.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/recentchanges.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/recentchanges.pm b/IkiWiki/Plugin/recentchanges.pm
index e23ee491f..22f934f2e 100644
--- a/IkiWiki/Plugin/recentchanges.pm
+++ b/IkiWiki/Plugin/recentchanges.pm
@@ -28,7 +28,7 @@ sub refresh ($) { #{{{
# delete old and excess changes
foreach my $page (keys %pagesources) {
- if ($page=~/^\Q$config{recentchangespage}\E\/change_/ && ! $seen{$page}) {
+ if ($page =~ /\._change$/ && ! $seen{$page}) {
unlink($config{srcdir}.'/'.$pagesources{$page});
}
}