Skip to content

Commit

Permalink
Remove no longer used Visit::isLocatable method
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya committed Nov 19, 2024
1 parent fa08014 commit f57f159
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions module/Core/src/Visit/Entity/Visit.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,6 @@ public function getVisitLocation(): VisitLocation|null
return $this->visitLocation;
}

public function isLocatable(): bool
{
return $this->hasRemoteAddr() && $this->remoteAddr !== IpAddress::LOCALHOST;
}

public function locate(VisitLocation $visitLocation): self
{
$this->visitLocation = $visitLocation;
Expand Down

0 comments on commit f57f159

Please sign in to comment.