Make sure user group is deleted as well when empty.

This commit is contained in:
James Cole
2021-10-26 06:20:33 +02:00
parent 7dd560a2e3
commit fbf7578fb0
2 changed files with 25 additions and 0 deletions

View File

@@ -39,6 +39,11 @@ interface UserRepositoryInterface
*/
public function all(): Collection;
/**
*
*/
public function deleteEmptyGroups(): void;
/**
* Gives a user a role.
*