mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-16 17:38:18 +08:00
Removed unused function in registration service
This commit is contained in:
@ -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);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user