summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorTiago Mello <timello@gmail.com>2011-08-17 00:05:53 +0200
committerTiago Mello <timello@gmail.com>2011-08-17 00:05:53 +0200
commit8713e6f943fe4bb02972199405ab504f4f3b903d (patch)
treed60da4090602ed45147de2f7ad5ee5d55c4c76ff /Bugzilla
parentf899ca9ad20457c699e68730eceee6bb5ba01c6c (diff)
downloadbugzilla-8713e6f943fe4bb02972199405ab504f4f3b903d.tar.gz
bugzilla-8713e6f943fe4bb02972199405ab504f4f3b903d.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')
-rw-r--r--Bugzilla/Bug.pm2
1 files changed, 2 insertions, 0 deletions
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);