From: Joey Hess Date: Fri, 14 Mar 2008 22:55:17 +0000 (-0400) Subject: * Fix expiry of old recentchanges changeset pages. X-Git-Tag: 2.41~129 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7b6686ce7061c28eba88610b2ee55e4a0379ff1e;p=ikiwiki.git * Fix expiry of old recentchanges changeset pages. --- 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 Sun, 02 Mar 2008 17:46:38 +0100