diff options
author | Byron Jones <bjones@mozilla.com> | 2012-03-22 06:50:02 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-03-22 06:50:02 +0100 |
commit | 76c90bb4e3390f5622e0426292921876be650b9c (patch) | |
tree | d1d831010bd2a94fac15806d06b3cb396df2349a /Bugzilla/User.pm | |
parent | 84a465473560c62db6903dd529582933a3b20be9 (diff) | |
download | bugzilla-76c90bb4e3390f5622e0426292921876be650b9c.tar.gz bugzilla-76c90bb4e3390f5622e0426292921876be650b9c.tar.xz |
Bug 731526: Adds an email event for product and/or component notifications
r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/User.pm')
-rw-r--r-- | Bugzilla/User.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 5462b33db..9e4ecb8fb 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -1620,7 +1620,9 @@ our %names_to_events = ( 'attachments.mimetype' => EVT_ATTACHMENT_DATA, 'attachments.ispatch' => EVT_ATTACHMENT_DATA, 'dependson' => EVT_DEPEND_BLOCK, - 'blocked' => EVT_DEPEND_BLOCK); + 'blocked' => EVT_DEPEND_BLOCK, + 'product' => EVT_COMPONENT, + 'component' => EVT_COMPONENT); # Returns true if the user wants mail for a given bug change. # Note: the "+" signs before the constants suppress bareword quoting. @@ -1639,7 +1641,7 @@ sub wants_bug_mail { } else { # Catch-all for any change not caught by a more specific event - $events{+EVT_OTHER} = 1; + $events{+EVT_OTHER} = 1; } # If the user is in a particular role and the value of that role |