]> git.donarmstrong.com Git - debbugs.git/commitdiff
* Add missing subtraction from bug_archiveable
authorDon Armstrong <don@donarmstrong.com>
Sat, 23 Jun 2007 15:50:14 +0000 (16:50 +0100)
committerDon Armstrong <don@donarmstrong.com>
Sat, 23 Jun 2007 15:50:14 +0000 (16:50 +0100)
Debbugs/Status.pm

index 2dc7440217ee20926c7eaf2c33f01b54597489df..6b6fabd3654442c21be344740b31e578268a860e 100644 (file)
@@ -698,7 +698,7 @@ sub bug_archiveable{
               last if $buggy eq 'found';
               $min_fixed_time = min($time_versions{$version},$min_fixed_time);
          }
-         $min_archive_days = max($min_archive_days,ceil((time - $min_fixed_time)/(60*60*24)));
+         $min_archive_days = max($min_archive_days,ceil($config{remove_age} - (time - $min_fixed_time)/(60*60*24)));
      }
      # If $param{ignore_time}, then we should ignore time.
      if ($param{ignore_time}) {