summaryrefslogtreecommitdiffstats
path: root/editgroups.cgi
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-10-06 08:37:10 +0200
committerByron Jones <glob@mozilla.com>2015-10-06 08:37:10 +0200
commit38229739b7cee263208d39b2c55b942e4d21c632 (patch)
treed9d695f05db21989d06188c9ec6c00228f0b5ad6 /editgroups.cgi
parentf8f537a8f05127b13a25c5f3f579364bcee6bbb5 (diff)
downloadbugzilla-38229739b7cee263208d39b2c55b942e4d21c632.tar.gz
bugzilla-38229739b7cee263208d39b2c55b942e4d21c632.tar.xz
Bug 1196620 - support automatic removal of inactive users from groups
Diffstat (limited to 'editgroups.cgi')
-rwxr-xr-xeditgroups.cgi5
1 files changed, 5 insertions, 0 deletions
diff --git a/editgroups.cgi b/editgroups.cgi
index 52fa88b8c..68590457e 100755
--- a/editgroups.cgi
+++ b/editgroups.cgi
@@ -212,6 +212,7 @@ if ($action eq 'new') {
userregexp => scalar $cgi->param('regexp'),
isactive => scalar $cgi->param('isactive'),
icon_url => scalar $cgi->param('icon_url'),
+ idle_member_removal => scalar $cgi->param('idle_member_removal'),
isbuggroup => 1,
owner_user_id => scalar $cgi->param('owner'),
});
@@ -402,6 +403,10 @@ sub doGroupChanges {
$group->set_owner($cgi->param('owner'));
}
+ if (defined $cgi->param('idle_member_removal')) {
+ $group->set_idle_member_removal($cgi->param('idle_member_removal'));
+ }
+
my $changes = $group->update();
my $sth_insert = $dbh->prepare('INSERT INTO group_group_map