Removed unused function in registration service

This commit is contained in:
Dan Brown 2020-05-02 01:07:30 +01:00
parent 413cac23ae
commit d3ec38bee3
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9

View file

@ -106,13 +106,4 @@ class RegistrationService
}
}
/**
* Alias to the UserRepo method of the same name.
* Attaches the default system role, if configured, to the given user.
*/
public function attachDefaultRole(User $user): void
{
$this->userRepo->attachDefaultRole($user);
}
}