summaryrefslogtreecommitdiffstats
path: root/Bugzilla/JobQueue.pm
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-07-31 07:20:07 +0200
committerByron Jones <bjones@mozilla.com>2013-07-31 07:20:07 +0200
commite9f07c7e2bc8dcf66381ed588ddd955d77b7d26f (patch)
tree42e9dde86748c22486f0df5c05bf16a10fdd6797 /Bugzilla/JobQueue.pm
parent5d5597bbd642ad00f2637abbc93714b86a359641 (diff)
downloadbugzilla-e9f07c7e2bc8dcf66381ed588ddd955d77b7d26f.tar.gz
bugzilla-e9f07c7e2bc8dcf66381ed588ddd955d77b7d26f.tar.xz
Bug 877078: shift bugmail generation to the jobqueue
r=sgreen, a=sgreen
Diffstat (limited to 'Bugzilla/JobQueue.pm')
-rw-r--r--Bugzilla/JobQueue.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/JobQueue.pm b/Bugzilla/JobQueue.pm
index 9365a7d56..d67066322 100644
--- a/Bugzilla/JobQueue.pm
+++ b/Bugzilla/JobQueue.pm
@@ -22,6 +22,7 @@ use fields qw(_worker_pidfile);
# If you add new types of jobs, you should add a mapping here.
use constant JOB_MAP => {
send_mail => 'Bugzilla::Job::Mailer',
+ bug_mail => 'Bugzilla::Job::BugMail',
};
# Without a driver cache TheSchwartz opens a new database connection