]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/aggregate.pm
typo
[ikiwiki.git] / IkiWiki / Plugin / aggregate.pm
index 07c557bcd5634bafb6e3b06fdf92067d2d65b61c..8044f1ed44d33e9d467431c338ea9cdc9765ae65 100644 (file)
@@ -424,7 +424,7 @@ sub expire () { #{{{
                                  grep { exists $_->{page} && $_->{feed} eq $feed->{name} }
                                  values %guids) {
                        if ($feed->{expireage}) {
-                               my $days_old = (time - ($IkiWiki::pagectime{$item->{page}} || 0) / 60 / 60 / 24;
+                               my $days_old = (time - ($IkiWiki::pagectime{$item->{page}} || 0)) / 60 / 60 / 24;
                                if ($days_old > $feed->{expireage}) {
                                        debug(sprintf(gettext("expiring %s (%s days old)"),
                                                $item->{page}, int($days_old)));