diff --git a/app/User.php b/app/User.php index 654c7de..59cc9b4 100755 --- a/app/User.php +++ b/app/User.php @@ -103,19 +103,6 @@ class User extends Authenticatable implements MustVerifyEmail // UTILITY LOGIC - /** - * Checks if a user is banned. - * - * @deprecated This method is obsolete, as it has been replaced by the suspension service. - * @see AccountSuspensionService::isSuspended() - * - * @return bool Whether the user is banned - */ - public function isBanned(): bool - { - return ! $this->bans()->get()->isEmpty(); - } - public function isStaffMember() { return $this->hasAnyRole('reviewer', 'admin', 'hiringManager');