From c0df359943e8b746f02f5c43d25e5ffea99f8d19 Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Wed, 9 Feb 2005 00:22:25 +0000 Subject: Bug 276838 : Eliminate use of $::unconfirmedstate Patch by Max Kanat-Alexander r=wurblzap a=justdave --- sanitycheck.cgi | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sanitycheck.cgi') 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 -- cgit v1.2.3-24-g4f1b