diff options
author | Byron Jones <glob@mozilla.com> | 2014-04-02 16:30:59 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-04-02 16:30:59 +0200 |
commit | 21241a59e58bb6b3b740bf9f37a964b08a1d0818 (patch) | |
tree | 8c068cf96d249d41aa9cd7d6c08b726cea6536d3 /extensions/Needinfo/Extension.pm | |
parent | b9793ff0f4ad8d2ec4b26a8216e0484d5accf79f (diff) | |
download | bugzilla-21241a59e58bb6b3b740bf9f37a964b08a1d0818.tar.gz bugzilla-21241a59e58bb6b3b740bf9f37a964b08a1d0818.tar.xz |
Bug 988175: Needinfo dropdown should include "myself"
Diffstat (limited to 'extensions/Needinfo/Extension.pm')
-rw-r--r-- | extensions/Needinfo/Extension.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/Needinfo/Extension.pm b/extensions/Needinfo/Extension.pm index b30750488..2a4bfa3b3 100644 --- a/extensions/Needinfo/Extension.pm +++ b/extensions/Needinfo/Extension.pm @@ -107,6 +107,10 @@ sub bug_start_of_update { elsif ($needinfo_role eq 'qa_contact') { $requestees{$bug->qa_contact->login} = 1; } + # Use current user as requestee + elsif ($needinfo_role eq 'user') { + $requestees{$user->login} = 1; + } # Use user specified requestee elsif ($needinfo_role eq 'other' && $needinfo_from) { my @needinfo_from_list = ref $needinfo_from |