diff options
author | travis%sedsystems.ca <> | 2005-02-09 01:22:25 +0100 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-02-09 01:22:25 +0100 |
commit | c0df359943e8b746f02f5c43d25e5ffea99f8d19 (patch) | |
tree | c6245cd227c142f81d5c136576af06189d132a32 /sanitycheck.cgi | |
parent | d286752d0525b9bf8e6617b332aa8b3638212fc3 (diff) | |
download | bugzilla-c0df359943e8b746f02f5c43d25e5ffea99f8d19.tar.gz bugzilla-c0df359943e8b746f02f5c43d25e5ffea99f8d19.tar.xz |
Bug 276838 : Eliminate use of $::unconfirmedstate
Patch by Max Kanat-Alexander <mkanat@kerio.com> r=wurblzap a=justdave
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-x | sanitycheck.cgi | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi index 4db4e0192..d9c6af221 100755 --- a/sanitycheck.cgi +++ b/sanitycheck.cgi @@ -28,8 +28,6 @@ use lib qw(.); require "CGI.pl"; use Bugzilla::Constants; -use vars qw($unconfirmedstate); - ########################################################################### # General subs ########################################################################### @@ -649,9 +647,7 @@ BugCheck("bugs WHERE bug_status NOT IN ($open_states) AND resolution = ''", Status("Checking statuses/everconfirmed"); -my $sqlunconfirmed = SqlQuote($unconfirmedstate); - -BugCheck("bugs WHERE bug_status = $sqlunconfirmed AND everconfirmed = 1", +BugCheck("bugs WHERE bug_status = 'UNCONFIRMED' AND everconfirmed = 1", "Bugs that are UNCONFIRMED but have everconfirmed set"); # The below list of resolutions is hardcoded because we don't know if future # resolutions will be confirmed, unconfirmed or maybeconfirmed. I suspect |