Update user service to be more separated
This commit is contained in:
parent
8daec38622
commit
275c01bc37
12 changed files with 473 additions and 1361 deletions
|
@ -35,16 +35,6 @@ interface UserRepositoryInterface extends RepositoryInterface, SearchableInterfa
|
|||
*/
|
||||
public function getAllUsersWithCounts();
|
||||
|
||||
/**
|
||||
* Delete a user if they have no servers attached to their account.
|
||||
*
|
||||
* @param int $id
|
||||
* @return bool
|
||||
*
|
||||
* @throws \Pterodactyl\Exceptions\DisplayException
|
||||
*/
|
||||
public function deleteIfNoServers($id);
|
||||
|
||||
/**
|
||||
* Return all matching models for a user in a format that can be used for dropdowns.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue