Bug 148836: Can't get email, "When I'm added to or removed from the Bug Owner capacity" ONLY - Patch by Fr�d�ric Buclin <LpSolit@gmail.com> r=bkor a=justdave

This commit is contained in:
lpsolit%gmail.com 2006-08-15 23:08:34 +00:00
Родитель 1a3d59e096
Коммит ff0b1e276e
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -354,7 +354,7 @@ sub ProcessOneBug {
# The last relevant set of people are those who are being removed from
# their roles in this change. We get their names out of the diffs.
foreach my $ref (@$diffs) {
my ($who, $what, $when, $old, $new) = (@$ref);
my ($who, $whoname, $what, $when, $old, $new) = (@$ref);
if ($old) {
# You can't stop being the reporter, and mail isn't sent if you
# remove your vote.

Просмотреть файл

@ -1132,7 +1132,7 @@ sub wants_bug_mail {
# from the point of view of this user.
my %events;
foreach my $ref (@$fieldDiffs) {
my ($who, $fieldName, $when, $old, $new) = @$ref;
my ($who, $whoname, $fieldName, $when, $old, $new) = @$ref;
# A change to any of the above fields sets the corresponding event
if (defined($names_to_events{$fieldName})) {
$events{$names_to_events{$fieldName}} = 1;