diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-03-14 18:55:17 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-03-14 18:55:17 -0400 |
commit | 7b6686ce7061c28eba88610b2ee55e4a0379ff1e (patch) | |
tree | ac082a65ba1c9abc1e0e470803b3c0003f252503 | |
parent | 44d4f086efcd5e777e100eeca078fc6eafaf9476 (diff) |
* Fix expiry of old recentchanges changeset pages.
-rw-r--r-- | IkiWiki/Plugin/recentchanges.pm | 8 | ||||
-rw-r--r-- | debian/changelog | 1 |
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 |