diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-02-27 23:28:37 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-02-27 23:28:37 +0100 |
commit | 8f3bf725dabd630750c52a0c15b19ec22c8bf7a3 (patch) | |
tree | eeece9beaf72aefad421492ef86bbf909f437ab7 /extensions/Needinfo/Extension.pm | |
parent | dcfcf6a3c1334848747a9d17272a042c27f1080d (diff) | |
download | bugzilla-8f3bf725dabd630750c52a0c15b19ec22c8bf7a3.tar.gz bugzilla-8f3bf725dabd630750c52a0c15b19ec22c8bf7a3.tar.xz |
Bug 845567 - Allow needsinfo for resolved bugs
- Added in some layout refactoring of the needinfo UI
Diffstat (limited to 'extensions/Needinfo/Extension.pm')
-rw-r--r-- | extensions/Needinfo/Extension.pm | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/extensions/Needinfo/Extension.pm b/extensions/Needinfo/Extension.pm index 15c258839..eb4b92c85 100644 --- a/extensions/Needinfo/Extension.pm +++ b/extensions/Needinfo/Extension.pm @@ -125,8 +125,7 @@ sub bug_start_of_update { } } - # Clear the flag if bug is being closed or if additional - # information was given as requested + # Clear the flag if additional information was given as requested my @flags; foreach my $flag (@{ $bug->flags }) { next if $flag->type->name ne 'needinfo'; @@ -138,13 +137,6 @@ sub bug_start_of_update { # Clear if current user has selected override $clear_needinfo = 1 if grep($_ == $flag->id, @needinfo_overrides); - # Clear if bug is being closed - if (($bug->bug_status ne $old_bug->bug_status) - && !$old_bug->status->is_open) - { - $clear_needinfo = 1; - } - # Clear if comment provided by the proper requestee if ($bug->{added_comments} && (!$flag->requestee || $flag->requestee->login eq Bugzilla->user->login) |