diff options
author | lpsolit%gmail.com <> | 2007-04-13 19:53:23 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-04-13 19:53:23 +0000 |
commit | b3630da125fa112e04f6e6a15328f64e13a874c5 (patch) | |
tree | cf8467997f277e2b97a89a5db9c7ebd0f42fcf7e /Bugzilla | |
parent | 09becc83e7b67df0e72ede95592cce22b04a806c (diff) | |
download | bugs-b3630da125fa112e04f6e6a15328f64e13a874c5.tar bugs-b3630da125fa112e04f6e6a15328f64e13a874c5.tar.gz bugs-b3630da125fa112e04f6e6a15328f64e13a874c5.tar.bz2 bugs-b3630da125fa112e04f6e6a15328f64e13a874c5.tar.xz bugs-b3630da125fa112e04f6e6a15328f64e13a874c5.zip |
Bug 92552: Separate reassignment from bug status change (they are now independent) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=gerv a=LpSolit
Diffstat (limited to 'Bugzilla')
-rwxr-xr-x | Bugzilla/Bug.pm | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 777fca323..62be49564 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1511,15 +1511,6 @@ sub get_new_status_and_resolution { $status = $self->everconfirmed ? 'REOPENED' : 'UNCONFIRMED'; $resolution = ''; } - elsif ($action =~ /^reassign(?:bycomponent)?$/) { - if (!is_open_state($self->bug_status) || $self->bug_status eq 'UNCONFIRMED') { - $status = $self->bug_status; - } - else { - $status = 'NEW'; - } - $resolution = $self->resolution; - } elsif ($action eq 'duplicate') { # Only alter the bug status if the bug is currently open. $status = is_open_state($self->bug_status) ? 'RESOLVED' : $self->bug_status; @@ -2153,14 +2144,6 @@ sub check_can_change_field { return 1; } - # Ignore the assigned_to field if the bug is not being reassigned - if ($field eq 'assigned_to' - && $data->{'knob'} ne 'reassignbycomponent' - && $data->{'knob'} ne 'reassign') - { - return 1; - } - # If the user isn't allowed to change a field, we must tell him who can. # We store the required permission set into the $PrivilegesRequired # variable which gets passed to the error template. |