diff options
author | David Lawrence [:dkl] <dkl@mozilla.com> | 2014-06-17 09:52:16 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-06-17 09:52:16 +0200 |
commit | 464be059d311db4a1bc15933ba007f45f76c11a0 (patch) | |
tree | f70d867f0b74b24b9a69d875cd6d44db937302df /Bugzilla/User.pm | |
parent | aaba5db2aed1ac418d6e4421c1c2760d9c739b70 (diff) | |
download | bugzilla-464be059d311db4a1bc15933ba007f45f76c11a0.tar.gz bugzilla-464be059d311db4a1bc15933ba007f45f76c11a0.tar.xz |
Bug 649691: Add a "mentor" and "mentored bug type" field to b.m.o
Diffstat (limited to 'Bugzilla/User.pm')
-rw-r--r-- | Bugzilla/User.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index f707a8e80..8526c42d7 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -775,6 +775,9 @@ sub is_involved_in_bug { return 1 if $user_id == $bug->qa_contact->id; } + # BMO - Bug mentors are considered involved with the bug + return 1 if $bug->is_mentor($self); + return unless $bug->cc; return any { $user_login eq $_ } @{ $bug->cc }; } |