summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Product.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-03-19 03:31:10 +0100
committerGitHub <noreply@github.com>2018-03-19 03:31:10 +0100
commitdaa2d6b1c40354ecce0e48e6c5ee686efe642c4b (patch)
treedc0781d54354999b4416d3b8ec5696112107bc05 /Bugzilla/Product.pm
parent459ebf9cca578dc1d88f13da3a4fd0499cb7f2f8 (diff)
downloadbugzilla-daa2d6b1c40354ecce0e48e6c5ee686efe642c4b.tar.gz
bugzilla-daa2d6b1c40354ecce0e48e6c5ee686efe642c4b.tar.xz
fix all the tests
Diffstat (limited to 'Bugzilla/Product.pm')
-rw-r--r--Bugzilla/Product.pm11
1 files changed, 0 insertions, 11 deletions
diff --git a/Bugzilla/Product.pm b/Bugzilla/Product.pm
index c4c147a63..3ac1692f0 100644
--- a/Bugzilla/Product.pm
+++ b/Bugzilla/Product.pm
@@ -64,7 +64,6 @@ use constant VALIDATORS => {
description => \&_check_description,
version => \&_check_version,
defaultmilestone => \&_check_default_milestone,
- security_group_id => \&_check_security_group_id,
isactive => \&Bugzilla::Object::check_boolean,
create_series => \&Bugzilla::Object::check_boolean
};
@@ -390,16 +389,6 @@ sub _check_version {
return $version;
}
-sub _check_security_group_id {
- my ($invocant, $id) = @_;
-
- $id = trim($id);
-
- ThrowUserError('product_must_have_security_group') unless $id;
-
- return $id;
-}
-
sub _check_default_milestone {
my ($invocant, $milestone) = @_;