mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
Update all remaining code pathways to use new search tooling
This commit is contained in:
@@ -19,16 +19,6 @@ class UserRepository extends EloquentRepository implements UserRepositoryInterfa
|
||||
return User::class;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return all users with counts of servers and subusers of servers.
|
||||
*
|
||||
* @return \Illuminate\Contracts\Pagination\LengthAwarePaginator
|
||||
*/
|
||||
public function getAllUsersWithCounts(): LengthAwarePaginator
|
||||
{
|
||||
return $this->getBuilder()->withCount('servers')->paginate(50, $this->getColumns());
|
||||
}
|
||||
|
||||
/**
|
||||
* Return all matching models for a user in a format that can be used for dropdowns.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user