aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-08-25 16:18:54 +0100
committerSam James <sam@gentoo.org>2024-08-25 16:19:07 +0100
commit1fdc11cefd9d5e41fb8cb36e82f1aaecadb0608d (patch)
tree3478dfcbc81f780aaf4b9d4b1717e308ffdaeacb
parentextensions: RestrictComments: use int (diff)
downloadbugzilla-1fdc11cefd9d5e41fb8cb36e82f1aaecadb0608d.tar.gz
bugzilla-1fdc11cefd9d5e41fb8cb36e82f1aaecadb0608d.tar.bz2
bugzilla-1fdc11cefd9d5e41fb8cb36e82f1aaecadb0608d.zip
extensions: RestrictComments: adapt to BZ API changegentoo-5.0.6.29
_get_all_group_names is the older name, so use that. Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--extensions/RestrictComments/lib/Config.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/RestrictComments/lib/Config.pm b/extensions/RestrictComments/lib/Config.pm
index c1f9829f9..24bc747d3 100644
--- a/extensions/RestrictComments/lib/Config.pm
+++ b/extensions/RestrictComments/lib/Config.pm
@@ -23,14 +23,15 @@ sub get_param_list {
{
name => 'restrict_comments_group',
type => 's',
- choices => \&get_all_group_names,
+ choices => \&_get_all_group_names,
default => '',
checker => \&check_group
},
{
name => 'restrict_comments_enable_group',
type => 's',
- choices => \&get_all_group_names,
+
+ choices => \&_get_all_group_names,
default => '',
checker => \&check_group
},