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 --- globals.pl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'globals.pl') diff --git a/globals.pl b/globals.pl index 6957256a3..7a0ccebaa 100644 --- a/globals.pl +++ b/globals.pl @@ -95,8 +95,6 @@ $::ENV{'PATH'} = ''; $::SIG{TERM} = 'IGNORE'; $::SIG{PIPE} = 'IGNORE'; -$::unconfirmedstate = "UNCONFIRMED"; - # The following subroutine is for debugging purposes only. # Uncommenting this sub and the $::SIG{__DIE__} trap underneath it will # cause any fatal errors to result in a call stack trace to help track @@ -959,7 +957,7 @@ sub GetBugLink { my ($pre, $title, $post) = ("", "", ""); $title = $bug_state; - if ($bug_state eq $::unconfirmedstate) { + if ($bug_state eq 'UNCONFIRMED') { $pre = ""; $post = ""; } @@ -1183,7 +1181,7 @@ sub IsOpenedState { # is considered an open bug. sub OpenStates { - return ('NEW', 'REOPENED', 'ASSIGNED', $::unconfirmedstate); + return ('NEW', 'REOPENED', 'ASSIGNED', 'UNCONFIRMED'); } -- cgit v1.2.3-24-g4f1b