diff options
author | travis%sedsystems.ca <> | 2005-02-09 01:22:25 +0100 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-02-09 01:22:25 +0100 |
commit | c0df359943e8b746f02f5c43d25e5ffea99f8d19 (patch) | |
tree | c6245cd227c142f81d5c136576af06189d132a32 /Bugzilla | |
parent | d286752d0525b9bf8e6617b332aa8b3638212fc3 (diff) | |
download | bugzilla-c0df359943e8b746f02f5c43d25e5ffea99f8d19.tar.gz bugzilla-c0df359943e8b746f02f5c43d25e5ffea99f8d19.tar.xz |
Bug 276838 : Eliminate use of $::unconfirmedstate
Patch by Max Kanat-Alexander <mkanat@kerio.com> r=wurblzap a=justdave
Diffstat (limited to 'Bugzilla')
-rwxr-xr-x | Bugzilla/Bug.pm | 4 | ||||
-rw-r--r-- | Bugzilla/BugMail.pm | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 60083c887..e231f93b0 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -28,7 +28,7 @@ package Bugzilla::Bug; use strict; use Bugzilla::RelationSet; -use vars qw($unconfirmedstate $legal_keywords @legal_platform +use vars qw($legal_keywords @legal_platform @legal_priority @legal_severity @legal_opsys @legal_bugs_status @settable_resolution %components %versions %target_milestone @enterable_products %milestoneurl %prodmaxvotes); @@ -258,7 +258,7 @@ sub initBug { $self->{'milestoneurl'} = $::milestoneurl{$self->{product}}; - $self->{'isunconfirmed'} = ($self->{bug_status} eq $::unconfirmedstate); + $self->{'isunconfirmed'} = ($self->{bug_status} eq 'UNCONFIRMED'); $self->{'isopened'} = &::IsOpenedState($self->{bug_status}); my @depends = EmitDependList("blocked", "dependson", $bug_id); diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index 258bc0ccb..77156b0e7 100644 --- a/Bugzilla/BugMail.pm +++ b/Bugzilla/BugMail.pm @@ -512,7 +512,7 @@ sub getEmailAttributes (\%\@$) { my (@flags,@uniqueFlags,%alreadySeen) = (); # Add a flag if the status of the bug is "unconfirmed". - if ($bug->{'bug_status'} eq $::unconfirmedstate) { + if ($bug->{'bug_status'} eq 'UNCONFIRMED') { push (@flags, 'Unconfirmed') }; |