summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorolav%bkor.dhs.org <>2007-01-07 20:17:59 +0100
committerolav%bkor.dhs.org <>2007-01-07 20:17:59 +0100
commit23f1508f31cbcf7c59f82020c4782abf1582fabc (patch)
treed830aeb9a86b8e35cd968321f58563e3d9fa6e93 /Bugzilla
parent6da13fde68a73daa82022a61584426644e54ca05 (diff)
downloadbugzilla-23f1508f31cbcf7c59f82020c4782abf1582fabc.tar.gz
bugzilla-23f1508f31cbcf7c59f82020c4782abf1582fabc.tar.xz
Bug 366187: Bugmail should consider 'Any field not mentioned above changes' even when a 'known' field changes
Patch by Olav Vitters <olav@bkor.dhs.org> r=LpSolit a=myk
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/User.pm12
1 files changed, 1 insertions, 11 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index 02c6c4db9..c6fd0b524 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -1351,11 +1351,7 @@ sub wants_bug_mail {
}
else {
# Catch-all for any change not caught by a more specific event
- # XXX: Temporary Compatibility Change 2 of 2:
- # This code is disabled, and replaced with the code a few lines
- # below, in order to make the behaviour more like the original,
- # which only added this event if _all_ changes were of "other" type.
- # $events{+EVT_OTHER} = 1;
+ $events{+EVT_OTHER} = 1;
}
# If the user is in a particular role and the value of that role
@@ -1396,12 +1392,6 @@ sub wants_bug_mail {
my @event_list = keys %events;
- # XXX Temporary Compatibility Change 2 of 2:
- # See above comment.
- if (!scalar(@event_list)) {
- @event_list = (EVT_OTHER);
- }
-
my $wants_mail = $self->wants_mail(\@event_list, $relationship);
# The negative events are handled separately - they can't be incorporated