summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Bug.pm
diff options
context:
space:
mode:
authorTiago Mello <timello@gmail.com>2011-08-17 00:04:23 +0200
committerTiago Mello <timello@gmail.com>2011-08-17 00:04:23 +0200
commit69cb46eaca778c78d775406ff3e92ed32fa87124 (patch)
tree89fa2c4d342461a4808f0e6042882ed106d1047f /Bugzilla/Bug.pm
parentc3ab2e94a07228c119fc0733b9fef4a32f5ee4f8 (diff)
downloadbugzilla-69cb46eaca778c78d775406ff3e92ed32fa87124.tar.gz
bugzilla-69cb46eaca778c78d775406ff3e92ed32fa87124.tar.xz
Bug 672947: Add 'require Bugzilla::BugMail' in Bugzilla::Bug->_send_bugmail
and remove unnecessary module imports in process_bug.cgi. r/a=LpSolit
Diffstat (limited to 'Bugzilla/Bug.pm')
-rw-r--r--Bugzilla/Bug.pm2
1 files changed, 2 insertions, 0 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);