aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-03-14 18:55:17 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-03-14 18:55:17 -0400
commit7b6686ce7061c28eba88610b2ee55e4a0379ff1e (patch)
treeac082a65ba1c9abc1e0e470803b3c0003f252503 /IkiWiki
parent44d4f086efcd5e777e100eeca078fc6eafaf9476 (diff)
downloadikiwiki-7b6686ce7061c28eba88610b2ee55e4a0379ff1e.tar
ikiwiki-7b6686ce7061c28eba88610b2ee55e4a0379ff1e.tar.gz
* Fix expiry of old recentchanges changeset pages.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/recentchanges.pm8
1 files changed, 1 insertions, 7 deletions
diff --git a/IkiWiki/Plugin/recentchanges.pm b/IkiWiki/Plugin/recentchanges.pm
index e591df79f..8135f9adb 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 =~ /\._change$/ && ! $seen{$page}) {
+ if ($pagesources{$page} =~ /\._change$/ && ! $seen{$page}) {
unlink($config{srcdir}.'/'.$pagesources{$page});
}
}
@@ -161,10 +161,4 @@ sub store ($$$) { #{{{
return $page;
} #}}}
-sub updatechanges ($$) { #{{{
- my $subdir=shift;
- my @changes=@{shift()};
-
-} #}}}
-
1