summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Bug.pm2
-rwxr-xr-xprocess_bug.cgi2
2 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index 8b322031b..73648f233 100644
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -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);
diff --git a/process_bug.cgi b/process_bug.cgi
index acb359f63..382ee8b59 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -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;