summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsanitycheck.cgi6
1 files changed, 2 insertions, 4 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index 0d8538fff..4e79bed6c 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -27,7 +27,7 @@ use lib qw(.);
require "CGI.pl";
-use vars %::FORM;
+use vars qw(%FORM $unconfirmedstate);
ConnectToDatabase();
@@ -569,9 +569,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 = $unconfirmedstate 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