From f57f159002c19a76569e49e5d86a32485ef15155 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Tue, 19 Nov 2024 09:10:47 +0100 Subject: [PATCH] Remove no longer used Visit::isLocatable method --- module/Core/src/Visit/Entity/Visit.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/module/Core/src/Visit/Entity/Visit.php b/module/Core/src/Visit/Entity/Visit.php index e26d5f80..9e8540bc 100644 --- a/module/Core/src/Visit/Entity/Visit.php +++ b/module/Core/src/Visit/Entity/Visit.php @@ -127,11 +127,6 @@ class Visit extends AbstractEntity implements JsonSerializable return $this->visitLocation; } - public function isLocatable(): bool - { - return $this->hasRemoteAddr() && $this->remoteAddr !== IpAddress::LOCALHOST; - } - public function locate(VisitLocation $visitLocation): self { $this->visitLocation = $visitLocation;