Skip to content

delete a group which leaves a user with no groups, and the user is not deleted #35

Description

@jkeltz

Issue Description

If you delete a group leaving a user with no groups, the user is not deleted

In VirtualGroups.php in removeGroup function, after: unset($config[$user][$key]); added:

if ($config[$user] === []) {
    unset($config[$user]);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions