]> git.donarmstrong.com Git - debbugs.git/blobdiff - lib/Debbugs/Bug.pm
affects packages are part of the related packages we need
[debbugs.git] / lib / Debbugs / Bug.pm
index 21a26e39af2c443e34c0b260887d29146f1fc225..fefb49330959da92c19ce0093d49b4da91bf347c 100644 (file)
@@ -464,8 +464,8 @@ sub _populate_archiveable {
        }
     }
     my $time = time;
-    state $remove_time = 24 * 60 * 60 * ($config{removal_age} // 30);
-    # 4. Have been modified more than removal_age ago
+    state $remove_time = 24 * 60 * 60 * ($config{remove_age} // 30);
+    # 4. Have been modified more than remove_age ago
     my $moded_ago =
        $time - $self->modified->epoch;
     # if we don't need to know when we can archive, we can stop here if it's
@@ -657,6 +657,7 @@ sub related_packages_and_versions {
            push @return,$pkg;
         }
     }
+    push @return,$self->status->affects;
     return @return;
 }