summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-08-19 12:34:36 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2014-08-19 12:34:36 +0200
commit6cae1b669d427648bf129be14d713ab63b1899da (patch)
tree85f357cde16c3e78c9d9b0d5059276908218fc33
parentc8c1e1984247d1f8d61b90fe4b772240f4fb7977 (diff)
downloadbugzilla-6cae1b669d427648bf129be14d713ab63b1899da.tar.gz
bugzilla-6cae1b669d427648bf129be14d713ab63b1899da.tar.xz
Bug 1053802: Groups used for the comment_taggers_group and debug_group parameters can be deleted
r=sgreen a=glob
-rw-r--r--Bugzilla/Group.pm6
-rwxr-xr-xeditgroups.cgi3
-rw-r--r--template/en/default/admin/groups/list.html.tmpl3
3 files changed, 6 insertions, 6 deletions
diff --git a/Bugzilla/Group.pm b/Bugzilla/Group.pm
index a750e353e..07b78e366 100644
--- a/Bugzilla/Group.pm
+++ b/Bugzilla/Group.pm
@@ -56,8 +56,10 @@ use constant UPDATE_COLUMNS => qw(
);
# Parameters that are lists of groups.
-use constant GROUP_PARAMS => qw(chartgroup insidergroup timetrackinggroup
- querysharegroup);
+use constant GROUP_PARAMS => qw(
+ chartgroup comment_taggers_group debug_group insidergroup
+ querysharegroup timetrackinggroup
+);
###############################
#### Accessors ######
diff --git a/editgroups.cgi b/editgroups.cgi
index 2fd9f569a..9c33a0ee3 100755
--- a/editgroups.cgi
+++ b/editgroups.cgi
@@ -22,9 +22,6 @@ use Bugzilla::Product;
use Bugzilla::User;
use Bugzilla::Token;
-use constant SPECIAL_GROUPS => ('chartgroup', 'insidergroup',
- 'timetrackinggroup', 'querysharegroup');
-
my $cgi = Bugzilla->cgi;
my $dbh = Bugzilla->dbh;
my $template = Bugzilla->template;
diff --git a/template/en/default/admin/groups/list.html.tmpl b/template/en/default/admin/groups/list.html.tmpl
index 7a15703df..29e39f65f 100644
--- a/template/en/default/admin/groups/list.html.tmpl
+++ b/template/en/default/admin/groups/list.html.tmpl
@@ -75,7 +75,8 @@
}
%]
-[% FOREACH group IN ["chartgroup", "insidergroup", "timetrackinggroup", "querysharegroup"] %]
+[% FOREACH group IN ["chartgroup", "comment_taggers_group", "debug_group",
+ "insidergroup", "querysharegroup", "timetrackinggroup"] %]
[% special_group = Param(group) %]
[% IF special_group %]