aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-02-09 00:22:25 +0000
committertravis%sedsystems.ca <>2005-02-09 00:22:25 +0000
commitc0df359943e8b746f02f5c43d25e5ffea99f8d19 (patch)
treec6245cd227c142f81d5c136576af06189d132a32 /globals.pl
parentBug 280973 : BugMail includes the headers in the email body (diff)
downloadbugzilla-c0df359943e8b746f02f5c43d25e5ffea99f8d19.tar.gz
bugzilla-c0df359943e8b746f02f5c43d25e5ffea99f8d19.tar.bz2
bugzilla-c0df359943e8b746f02f5c43d25e5ffea99f8d19.zip
Bug 276838 : Eliminate use of $::unconfirmedstate
Patch by Max Kanat-Alexander <mkanat@kerio.com> r=wurblzap a=justdave
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl6
1 files changed, 2 insertions, 4 deletions
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 = "<i>";
$post = "</i>";
}
@@ -1183,7 +1181,7 @@ sub IsOpenedState {
# is considered an open bug.
sub OpenStates {
- return ('NEW', 'REOPENED', 'ASSIGNED', $::unconfirmedstate);
+ return ('NEW', 'REOPENED', 'ASSIGNED', 'UNCONFIRMED');
}