From 464be059d311db4a1bc15933ba007f45f76c11a0 Mon Sep 17 00:00:00 2001 From: "David Lawrence [:dkl]" Date: Tue, 17 Jun 2014 15:52:16 +0800 Subject: Bug 649691: Add a "mentor" and "mentored bug type" field to b.m.o --- Bugzilla/User.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Bugzilla/User.pm') 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 }; } -- cgit v1.2.3-24-g4f1b