diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-09-13 19:11:54 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-09-13 19:11:54 +0200 |
commit | 1553ce228cf0c2c87bbb3222657a3614ea095e0b (patch) | |
tree | 331f11aa0ece5da95e1bd6105c784d70687b6900 /extensions | |
parent | 745fdb4bd5b582db6266ea20cb0597208820548b (diff) | |
download | bugzilla-1553ce228cf0c2c87bbb3222657a3614ea095e0b.tar.gz bugzilla-1553ce228cf0c2c87bbb3222657a3614ea095e0b.tar.xz |
Revert Bug 915830 - Tracking flags don't contain values for extensions/TrackingFlags/Extension.pm
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/TrackingFlags/Extension.pm | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/extensions/TrackingFlags/Extension.pm b/extensions/TrackingFlags/Extension.pm index 0dc3248ac..b79faef61 100644 --- a/extensions/TrackingFlags/Extension.pm +++ b/extensions/TrackingFlags/Extension.pm @@ -546,23 +546,4 @@ sub mailer_before_send { } } -sub bug_check_can_change_field { - my ($self, $args) = @_; - my $field = $args->{'field'}; - my $old_value = $args->{'old_value'}; - my $new_value = $args->{'new_value'}; - my $priv_results = $args->{'priv_results'}; - - my $flag = Bugzilla::Extension::TrackingFlags::Flag->new( - { name => $field }); - $flag || return; - - # Used by show_bug to determine if field is visible so always allow - return if ($old_value == 0 && $new_value == 1); - - if (defined $new_value && !$flag->can_set_value($new_value)) { - push (@$priv_results, PRIVILEGES_REQUIRED_EMPOWERED); - } -} - __PACKAGE__->NAME; |