From 1b8e4cadbdab2e8a335c9f1186a301e493a9a8b3 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 9 Oct 2007 15:34:41 +0000 Subject: Bug 387672: Move BUG_STATE_OPEN and is_open_state() into Status.pm - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/BugMail.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Bugzilla/BugMail.pm') diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index d29ffaf1e..e771a9876 100644 --- a/Bugzilla/BugMail.pm +++ b/Bugzilla/BugMail.pm @@ -40,6 +40,7 @@ use Bugzilla::Bug; use Bugzilla::Classification; use Bugzilla::Product; use Bugzilla::Component; +use Bugzilla::Status; use Bugzilla::Mailer; use Date::Parse; @@ -308,7 +309,7 @@ sub Send { } $thisdiff .= FormatTriple($fielddescription{$what}, $old, $new); if ($what eq 'bug_status' - && Bugzilla::Bug::is_open_state($old) ne Bugzilla::Bug::is_open_state($new)) + && is_open_state($old) ne is_open_state($new)) { $interestingchange = 1; } -- cgit v1.2.3-24-g4f1b