summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Job
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-11-04 07:53:12 +0100
committerByron Jones <glob@mozilla.com>2014-11-04 07:53:12 +0100
commit7fdcd8ef2760a536190c44e1318e4342d27ec619 (patch)
treec340a019a23d6072aa47b2eceff5c503c7d6a86f /Bugzilla/Job
parent32e6ac30461863f4fc89a050455794436affa2a3 (diff)
downloadbugzilla-7fdcd8ef2760a536190c44e1318e4342d27ec619.tar.gz
bugzilla-7fdcd8ef2760a536190c44e1318e4342d27ec619.tar.xz
Bug 1092037: backport bug 1062739 to bmo (add the ability for administrators to limit the number of emails sent to a user per minute and hour)
Diffstat (limited to 'Bugzilla/Job')
-rw-r--r--Bugzilla/Job/Mailer.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Job/Mailer.pm b/Bugzilla/Job/Mailer.pm
index e3b94894a..56b6d4f69 100644
--- a/Bugzilla/Job/Mailer.pm
+++ b/Bugzilla/Job/Mailer.pm
@@ -63,7 +63,7 @@ sub work {
sub process_job {
my ($class, $arg) = @_;
- MessageToMTA($arg, 1);
+ MessageToMTA($arg->{msg}, 1);
}
1;