diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-08-15 23:38:53 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-08-15 23:38:53 +0200 |
commit | 5bcba2b42c531a50c0017a262e879b0b42940b53 (patch) | |
tree | 4d634d115ef3a0785aebf77b3ab770f805a0a5d1 /whine.pl | |
parent | 85aaf45b9086e8017631c0f0fc4d013fca2fbd93 (diff) | |
download | bugzilla-5bcba2b42c531a50c0017a262e879b0b42940b53.tar.gz bugzilla-5bcba2b42c531a50c0017a262e879b0b42940b53.tar.xz |
Bug 782330 - Whine emails show the summary of security sensitive bugs
r=gerv
Diffstat (limited to 'whine.pl')
-rwxr-xr-x | whine.pl | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -35,6 +35,7 @@ use Bugzilla::User; use Bugzilla::Mailer; use Bugzilla::Util; use Bugzilla::Group; +use Bugzilla::Hook; # create some handles that we'll need my $template = Bugzilla->template; @@ -367,6 +368,8 @@ sub mail { # Don't send mail to someone whose bugmail notification is disabled. return if $addressee->email_disabled; + Bugzilla::Hook::process('whine_before_send', { params => $args }); + my $template = Bugzilla->template_inner($addressee->setting('lang')); my $msg = ''; # it's a temporary variable to hold the template output $args->{'alternatives'} ||= []; |