Prevent default groups from being deleted.
This commit is contained in:
parent
1c1f1c295a
commit
19b333067e
1 changed files with 2 additions and 0 deletions
|
|
@ -142,6 +142,8 @@ BEGIN {
|
|||
END {
|
||||
my $Test = Test::Builder->new;
|
||||
GROUP: foreach my $group (@groupsToDelete) {
|
||||
my $groupId = $group->getId;
|
||||
next GROUP if any { $groupId eq $_ } qw/1 2 3 4 6 7 8 11 12 13 14 pbgroup000000000000015 pbgroup000000000000016 pbgroup000000000000017 /;
|
||||
$group->delete;
|
||||
}
|
||||
USER: foreach my $user (@usersToDelete) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue