From d3ec38bee3eb1749b29726cb837a16efbec589da Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sat, 2 May 2020 01:07:30 +0100 Subject: [PATCH] Removed unused function in registration service --- app/Auth/Access/RegistrationService.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/app/Auth/Access/RegistrationService.php b/app/Auth/Access/RegistrationService.php index 8cf76013a..9136b37b5 100644 --- a/app/Auth/Access/RegistrationService.php +++ b/app/Auth/Access/RegistrationService.php @@ -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); - } - } \ No newline at end of file