findOrFail($user); } if ($user->servers()->count() > 0) { throw new DisplayException($this->translator->get('admin/user.exceptions.user_has_servers')); } return $this->repository->delete($user); } }