/** * Determines if a user can view this ban (as moderator or client). * * @param PermissionUser $user * @return boolean */ public function canView(PermissionUser $user) { return $this->isBanForIP() || $user->canViewBan($this); }
/** * Determines if a user can view this ban (as moderator or client). * * @param PermissionUser $user * @return boolean */ public function canView(PermissionUser $user) { return $this->isBanForIP() || $user->canViewBan($this); }