create a mail when the role of the user is updated
This commit is contained in:
@@ -6,6 +6,7 @@ class GetRole
|
||||
{
|
||||
public static function getRole($role)
|
||||
{
|
||||
$role = (int)$role;
|
||||
return match ($role) {
|
||||
1 => "Président",
|
||||
2 => "Gérant",
|
||||
|
||||
Reference in New Issue
Block a user