summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-03-18 05:27:33 +0100
committerDylan William Hardison <dylan@hardison.net>2018-03-18 05:27:33 +0100
commit58137cf628bb0989a671e896a2f8b9021c6d60a4 (patch)
tree6e66da38a558f1811b4089c56a1414c3acbec3e7 /Bugzilla.pm
parent9a9a5a5229f102fdb629029bed7a200cde6a5a68 (diff)
downloadbugzilla-58137cf628bb0989a671e896a2f8b9021c6d60a4.tar.gz
bugzilla-58137cf628bb0989a671e896a2f8b9021c6d60a4.tar.xz
Revert "Merge remote-tracking branch 'dylanwh/unextend-schema' into unstable"
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm15
1 files changed, 0 insertions, 15 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index 1ab72431a..afdfcefd2 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -57,7 +57,6 @@ use File::Basename;
use File::Spec::Functions;
use Safe;
use Sys::Syslog qw(:DEFAULT);
-use List::Util qw(any);
use JSON::XS qw(decode_json);
use URI;
@@ -863,20 +862,6 @@ sub check_rate_limit {
}
}
-# called from the verify version, component, and group page.
-# if we're making a group invalid, stuff the default group into the cgi param
-# to make it checked by default.
-sub check_default_product_security_group {
- my ($class, $product, $invalid_groups, $optional_group_controls) = @_;
- return unless my $group = $product->default_security_group_obj;
- if (@$invalid_groups) {
- my $cgi = $class->cgi;
- my @groups = $cgi->param('groups');
- push @groups, $group->name unless any { $_ eq $group->name } @groups;
- $cgi->param('groups', @groups);
- }
-}
-
# Private methods
# Per-process cleanup. Note that this is a plain subroutine, not a method,