diff options
author | David Lawrence <dkl@mozilla.com> | 2015-10-06 08:37:10 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-10-06 08:37:10 +0200 |
commit | 38229739b7cee263208d39b2c55b942e4d21c632 (patch) | |
tree | d9d695f05db21989d06188c9ec6c00228f0b5ad6 /editgroups.cgi | |
parent | f8f537a8f05127b13a25c5f3f579364bcee6bbb5 (diff) | |
download | bugzilla-38229739b7cee263208d39b2c55b942e4d21c632.tar.gz bugzilla-38229739b7cee263208d39b2c55b942e4d21c632.tar.xz |
Bug 1196620 - support automatic removal of inactive users from groups
Diffstat (limited to 'editgroups.cgi')
-rwxr-xr-x | editgroups.cgi | 5 |
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 |