mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-21 00:23:58 +08:00
Removed unused function in registration service
This commit is contained in:
parent
413cac23ae
commit
d3ec38bee3
@ -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);
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user