summaryrefslogtreecommitdiffstats
path: root/sanitycheck.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-xsanitycheck.cgi6
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