Prevent default groups from being deleted.

This commit is contained in:
Colin Kuskie 2009-05-07 16:04:47 +00:00
parent 1c1f1c295a
commit 19b333067e

View file

@ -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) {