From 8713e6f943fe4bb02972199405ab504f4f3b903d Mon Sep 17 00:00:00 2001 From: Tiago Mello Date: Tue, 16 Aug 2011 19:05:53 -0300 Subject: Bug 672947: Add 'require Bugzilla::BugMail' in Bugzilla::Bug->_send_bugmail and remove unnecessary module imports in process_bug.cgi. r/a=LpSolit --- Bugzilla/Bug.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Bugzilla') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index c9ccf541d..6fdab3645 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1217,6 +1217,8 @@ sub send_changes { sub _send_bugmail { my ($params, $vars) = @_; + require Bugzilla::BugMail; + my $results = Bugzilla::BugMail::Send($params->{'id'}, $params->{'forced'}, $params); -- cgit v1.2.3-24-g4f1b