diff options
author | Byron Jones <bjones@mozilla.com> | 2013-12-10 20:50:59 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-12-10 20:50:59 +0100 |
commit | f21a2d3506d4c4913d0d0a8c1134188a85b76562 (patch) | |
tree | 93f6b84c0173543777e4965d0bc278f7f2c0c437 /Bugzilla/Config/Common.pm | |
parent | ce665b1f88150f437c7bb893bf3ebeabc3f04f07 (diff) | |
download | bugzilla-f21a2d3506d4c4913d0d0a8c1134188a85b76562.tar.gz bugzilla-f21a2d3506d4c4913d0d0a8c1134188a85b76562.tar.xz |
Bug 942725: add the ability to tag comments with arbitrary tags
Diffstat (limited to 'Bugzilla/Config/Common.pm')
-rw-r--r-- | Bugzilla/Config/Common.pm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Bugzilla/Config/Common.pm b/Bugzilla/Config/Common.pm index 00c699217..efbd1a139 100644 --- a/Bugzilla/Config/Common.pm +++ b/Bugzilla/Config/Common.pm @@ -52,6 +52,7 @@ use base qw(Exporter); check_mail_delivery_method check_notification check_utf8 check_bug_status check_smtp_auth check_theschwartz_available check_maxattachmentsize check_email + check_comment_taggers_group ); # Checking functions for the various values @@ -369,6 +370,14 @@ sub check_theschwartz_available { return ""; } +sub check_comment_taggers_group { + my $group_name = shift; + if ($group_name && !Bugzilla->feature('jsonrpc')) { + return "Comment tagging requires installation of the JSONRPC feature"; + } + return check_group($group_name); +} + # OK, here are the parameter definitions themselves. # # Each definition is a hash with keys: |