diff options
author | David Lawrence <dkl@mozilla.com> | 2015-01-29 18:23:13 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2015-01-29 18:23:13 +0100 |
commit | 89d319922df1160f346321acfa6a9c5d69b5ed43 (patch) | |
tree | 7281a5c3d37fb4d6dd44949cc74be84275cfdee2 /extensions | |
parent | ece0cae03492b7240845ac08f005c1a1d9cc862f (diff) | |
download | bugzilla-89d319922df1160f346321acfa6a9c5d69b5ed43.tar.gz bugzilla-89d319922df1160f346321acfa6a9c5d69b5ed43.tar.xz |
Bug 1059419: Needinfo-ing a mentor doesnt work
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/Needinfo/Extension.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/extensions/Needinfo/Extension.pm b/extensions/Needinfo/Extension.pm index 2a4bfa3b3..26bca649e 100644 --- a/extensions/Needinfo/Extension.pm +++ b/extensions/Needinfo/Extension.pm @@ -121,6 +121,12 @@ sub bug_start_of_update { $requestees{$requestee_obj->login} = 1; } } + # Requestee is a mentor + elsif ($needinfo_role + && Bugzilla::User->check({ name => $needinfo_role, cache => 1 })) + { + $requestees{$needinfo_role} = 1; + } # Find out if the requestee has already been used and skip if so my $requestee_found; |