Commit 69cb46ea authored by Tiago Mello's avatar Tiago Mello

Bug 672947: Add 'require Bugzilla::BugMail' in Bugzilla::Bug->_send_bugmail

and remove unnecessary module imports in process_bug.cgi. r/a=LpSolit
parent c3ab2e94
......@@ -1222,6 +1222,8 @@ sub send_changes {
sub _send_bugmail {
my ($params, $vars) = @_;
require Bugzilla::BugMail;
my $results =
Bugzilla::BugMail::Send($params->{'id'}, $params->{'forced'}, $params);
......
......@@ -48,8 +48,6 @@ use lib qw(. lib);
use Bugzilla;
use Bugzilla::Constants;
use Bugzilla::Bug;
use Bugzilla::BugMail;
use Bugzilla::Mailer;
use Bugzilla::User;
use Bugzilla::Util;
use Bugzilla::Error;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment