aboutsummaryrefslogtreecommitdiff
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
parent44d4f086efcd5e777e100eeca078fc6eafaf9476 (diff)
downloadikiwiki-7b6686ce7061c28eba88610b2ee55e4a0379ff1e.tar
ikiwiki-7b6686ce7061c28eba88610b2ee55e4a0379ff1e.tar.gz
* Fix expiry of old recentchanges changeset pages.
-rw-r--r--IkiWiki/Plugin/recentchanges.pm8
-rw-r--r--debian/changelog1
2 files changed, 2 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
diff --git a/debian/changelog b/debian/changelog
index 0a0151826..421880931 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -37,6 +37,7 @@ ikiwiki (2.41) UNRELEASED; urgency=low
* Several destpage fixes in plugins.
* Use absolute url for feedurl when filling out the feed templates.
Closes: #470530
+ * Fix expiry of old recentchanges changeset pages.
-- martin f. krafft <madduck@debian.org> Sun, 02 Mar 2008 17:46:38 +0100