]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/Status.pm
fix incorrect lexical variables in Debbugs
[debbugs.git] / Debbugs / Status.pm
index c78e58559c7eca270504225ac6702d9b99a061ec..0cc0af9a59a4ad743af6b8951f4a66074a1689d4 100644 (file)
@@ -48,7 +48,7 @@ BEGIN{
                     read   => [qw(readbug read_bug lockreadbug)],
                     write  => [qw(writebug makestatus unlockwritebug)],
                     versions => [qw(addfoundversions addfixedversions),
-                                 qw(removefoundversions)
+                                 qw(removefoundversions removefixedversions)
                                 ],
                     hook     => [qw(bughook bughook_archive)],
                    );
@@ -546,7 +546,7 @@ Returns undef on failure.
 =cut
 
 # This will eventually need to be fixed before we start using mod_perl
-my $version_cache = {};
+our $version_cache = {};
 sub bug_archiveable{
      my %param = validate_with(params => \@_,
                               spec   => {bug => {type => SCALAR,