diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-09-07 17:04:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-07 17:04:07 +0200 |
commit | 946e9116c2a2a4ccbc44f657827087bf44ba295a (patch) | |
tree | c110b20d0f189946915d737180f78e835c27e9b1 /extensions/BMO | |
parent | 8feb55f32ccd688d2b51105f4d56985abf0baa93 (diff) | |
download | bugzilla-946e9116c2a2a4ccbc44f657827087bf44ba295a.tar.gz bugzilla-946e9116c2a2a4ccbc44f657827087bf44ba295a.tar.xz |
Bug 1397747 - Move _get_all_group_names to Bugzilla::Config::Common::_get_all_group_names, and remove copy-pasted code
Diffstat (limited to 'extensions/BMO')
-rw-r--r-- | extensions/BMO/Extension.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm index cb1996cbc..db672f82a 100644 --- a/extensions/BMO/Extension.pm +++ b/extensions/BMO/Extension.pm @@ -31,7 +31,7 @@ use base qw(Bugzilla::Extension); use Bugzilla::Bug; use Bugzilla::BugMail; -use Bugzilla::Config::Common qw(check_group); +use Bugzilla::Config::Common qw(check_group get_all_group_names); use Bugzilla::Constants; use Bugzilla::Error; use Bugzilla::Field; @@ -2579,7 +2579,7 @@ sub config_modify_panels { push @{ $args->{panels}->{groupsecurity}->{params} }, { name => 'delete_comments_group', type => 's', - choices => \&Bugzilla::Config::GroupSecurity::_get_all_group_names, + choices => \&get_all_group_names, default => 'admin', checker => \&check_group }; |