summaryrefslogtreecommitdiffstats
path: root/extensions/BMO
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-03-12 04:44:43 +0100
committerDylan William Hardison <dylan@hardison.net>2018-03-12 04:44:43 +0100
commitb29d11c50a10a98f6275eba03bdb93ea3215f593 (patch)
treece137dae9e7d1d09da2dc27cc6ecb078ee5e608c /extensions/BMO
parent9d9cb4b934605b937f19e6308be1a6e9320fef23 (diff)
downloadbugzilla-b29d11c50a10a98f6275eba03bdb93ea3215f593.tar.gz
bugzilla-b29d11c50a10a98f6275eba03bdb93ea3215f593.tar.xz
fix default security bug id thing
Diffstat (limited to 'extensions/BMO')
-rw-r--r--extensions/BMO/Extension.pm25
1 files changed, 0 insertions, 25 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm
index 322d03769..817fd1d74 100644
--- a/extensions/BMO/Extension.pm
+++ b/extensions/BMO/Extension.pm
@@ -813,31 +813,6 @@ sub quicksearch_map {
}
}
-sub object_before_create {
- my ($self, $args) = @_;
- return unless $args->{class}->isa('Bugzilla::Product');
-
- my $cgi = Bugzilla->cgi;
- my $params = $args->{params};
- foreach my $field (qw( default_platform_id default_op_sys_id security_group_id )) {
- $params->{$field} = $cgi->param($field);
- }
-}
-
-sub object_end_of_set_all {
- my ($self, $args) = @_;
- my $object = $args->{object};
- return unless $object->isa('Bugzilla::Product');
-
- my $cgi = Bugzilla->cgi;
- my $params = $args->{params};
- foreach my $field (qw( default_platform_id default_op_sys_id security_group_id )) {
- my $value = $cgi->param($field);
- detaint_natural($value);
- $object->set($field, $value);
- }
-}
-
sub object_end_of_create {
my ($self, $args) = @_;
my $class = $args->{class};