summaryrefslogtreecommitdiffstats
path: root/Bugzilla/BugMail.pm
diff options
context:
space:
mode:
authorGervase Markham <gerv@gerv.net>2014-01-27 15:59:36 +0100
committerGervase Markham <gerv@mozilla.org>2014-01-27 15:59:36 +0100
commit10cc520ecb23683b3ae83a817e4457bc2fdc01fb (patch)
tree7e56e83fb71bc23066ddc7a99c1589cb3419931e /Bugzilla/BugMail.pm
parenteb7d562ca51276b6f448a1ae0e676132c7d35b03 (diff)
downloadbugzilla-10cc520ecb23683b3ae83a817e4457bc2fdc01fb.tar.gz
bugzilla-10cc520ecb23683b3ae83a817e4457bc2fdc01fb.tar.xz
Bug 939838 - Kill Bugzilla::User::user_id_to_login function. r=LpSolit, a=justdave.
Diffstat (limited to 'Bugzilla/BugMail.pm')
-rw-r--r--Bugzilla/BugMail.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index 48222fbf7..d66df579d 100644
--- a/Bugzilla/BugMail.pm
+++ b/Bugzilla/BugMail.pm
@@ -344,7 +344,7 @@ sub sendMail {
my @watchingrel = map { $relationships{$_} } @reasons_watch;
push(@headerrel, 'None') unless @headerrel;
push(@watchingrel, 'None') unless @watchingrel;
- push @watchingrel, map { user_id_to_login($_) } @$watchingRef;
+ push @watchingrel, map { Bugzilla::User->new($_)->login } @$watchingRef;
my @changedfields = uniq map { $_->{field_name} } @display_diffs;