diff options
author | mkanat%kerio.com <> | 2006-03-07 06:42:09 +0100 |
---|---|---|
committer | mkanat%kerio.com <> | 2006-03-07 06:42:09 +0100 |
commit | 93ed3ae8b3523b9e62597d1cc49de1f715648925 (patch) | |
tree | 691aa59ef033d8f23b920842558c68c52bae43f3 /Bugzilla/BugMail.pm | |
parent | eb411e0d6a8848ff925ca13f42a04da1a7591284 (diff) | |
download | bugzilla-93ed3ae8b3523b9e62597d1cc49de1f715648925.tar.gz bugzilla-93ed3ae8b3523b9e62597d1cc49de1f715648925.tar.xz |
Bug 282628: Move OpenStates and IsOpenedState out of globals.pl
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=wicked, a=myk
Diffstat (limited to 'Bugzilla/BugMail.pm')
-rw-r--r-- | Bugzilla/BugMail.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index e20fb5f61..2b76a211a 100644 --- a/Bugzilla/BugMail.pm +++ b/Bugzilla/BugMail.pm @@ -37,6 +37,7 @@ use Bugzilla::User; use Bugzilla::Constants; use Bugzilla::Config qw(:DEFAULT $datadir); use Bugzilla::Util; +use Bugzilla::Bug; use Date::Parse; use Date::Format; @@ -309,7 +310,7 @@ sub ProcessOneBug { $interestingchange = 0; } $thisdiff .= FormatTriple($fielddescription{$what}, $old, $new); - if ($what eq 'bug_status' && &::IsOpenedState($old) ne &::IsOpenedState($new)) { + if ($what eq 'bug_status' && is_open_state($old) ne is_open_state($new)) { $interestingchange = 1; } |