mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-25 03:35:35 +00: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…
Reference in New Issue
Block a user