aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-08-19 12:36:52 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2014-08-19 12:36:52 +0200
commit234328faa2addfab44132c2cb4e6f9559c891911 (patch)
treeca3d5ecdd7c4dbe45f796c31b3bf4c4fd7134f18
parentBug 1046145: It is no longer possible to cancel an email address change when ... (diff)
downloadbugzilla-234328faa2addfab44132c2cb4e6f9559c891911.tar.gz
bugzilla-234328faa2addfab44132c2cb4e6f9559c891911.tar.bz2
bugzilla-234328faa2addfab44132c2cb4e6f9559c891911.zip
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.pm2
-rwxr-xr-xeditgroups.cgi3
-rw-r--r--template/en/default/admin/groups/list.html.tmpl3
3 files changed, 3 insertions, 5 deletions
diff --git a/Bugzilla/Group.pm b/Bugzilla/Group.pm
index 04c36f694..5404dec7e 100644
--- a/Bugzilla/Group.pm
+++ b/Bugzilla/Group.pm
@@ -53,7 +53,7 @@ use constant UPDATE_COLUMNS => qw(
# Parameters that are lists of groups.
use constant GROUP_PARAMS => qw(chartgroup insidergroup timetrackinggroup
- querysharegroup);
+ querysharegroup debug_group);
###############################
#### Accessors ######
diff --git a/editgroups.cgi b/editgroups.cgi
index d603ab183..51f908772 100755
--- a/editgroups.cgi
+++ b/editgroups.cgi
@@ -19,9 +19,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 af7da33a6..859f26205 100644
--- a/template/en/default/admin/groups/list.html.tmpl
+++ b/template/en/default/admin/groups/list.html.tmpl
@@ -74,7 +74,8 @@
}
%]
-[% FOREACH group IN ["chartgroup", "insidergroup", "timetrackinggroup", "querysharegroup"] %]
+[% FOREACH group IN ["chartgroup", "insidergroup", "timetrackinggroup",
+ "querysharegroup", "debug_group"] %]
[% special_group = Param(group) %]
[% IF special_group %]