diff options
author | lpsolit%gmail.com <> | 2005-11-01 08:09:28 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-11-01 08:09:28 +0100 |
commit | 967d3f6601d528cb2499f88d12acba0ce61ecfa2 (patch) | |
tree | 931601cb1a6a47f065f7a1760e27d94683cf50a0 /Bugzilla | |
parent | 7cb75c8af8b5cdcbc1040e659a4d6d2d8457d7e7 (diff) | |
download | bugzilla-967d3f6601d528cb2499f88d12acba0ce61ecfa2.tar.gz bugzilla-967d3f6601d528cb2499f88d12acba0ce61ecfa2.tar.xz |
Bug 314269: Add email pref to not send mail about dependency changes - Patch by Todd Stansell <tjs@tellme.com> r=joel a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Constants.pm | 5 | ||||
-rw-r--r-- | Bugzilla/User.pm | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 7411ca0b0..09717486e 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -78,7 +78,7 @@ use base qw(Exporter); POS_EVENTS EVT_OTHER EVT_ADDED_REMOVED EVT_COMMENT EVT_ATTACHMENT EVT_ATTACHMENT_DATA - EVT_PROJ_MANAGEMENT EVT_OPENED_CLOSED EVT_KEYWORD EVT_CC + EVT_PROJ_MANAGEMENT EVT_OPENED_CLOSED EVT_KEYWORD EVT_CC EVT_DEPEND_BLOCK NEG_EVENTS EVT_UNCONFIRMED EVT_CHANGED_BY_ME @@ -214,11 +214,12 @@ use constant EVT_PROJ_MANAGEMENT => 5; use constant EVT_OPENED_CLOSED => 6; use constant EVT_KEYWORD => 7; use constant EVT_CC => 8; +use constant EVT_DEPEND_BLOCK => 9; use constant POS_EVENTS => EVT_OTHER, EVT_ADDED_REMOVED, EVT_COMMENT, EVT_ATTACHMENT, EVT_ATTACHMENT_DATA, EVT_PROJ_MANAGEMENT, EVT_OPENED_CLOSED, EVT_KEYWORD, - EVT_CC; + EVT_CC, EVT_DEPEND_BLOCK; use constant EVT_UNCONFIRMED => 50; use constant EVT_CHANGED_BY_ME => 51; diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 6beb16a8b..701c1c2b2 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -1085,7 +1085,9 @@ our %names_to_events = ( 'Target Milestone' => EVT_PROJ_MANAGEMENT, 'Attachment description' => EVT_ATTACHMENT_DATA, 'Attachment mime type' => EVT_ATTACHMENT_DATA, - 'Attachment is patch' => EVT_ATTACHMENT_DATA); + 'Attachment is patch' => EVT_ATTACHMENT_DATA, + 'BugsThisDependsOn' => EVT_DEPEND_BLOCK, + 'OtherBugsDependingOnThis' => EVT_DEPEND_BLOCK); # Returns true if the user wants mail for a given bug change. # Note: the "+" signs before the constants suppress bareword quoting. |