mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Remove no longer used Visit::isLocatable method
This commit is contained in:
parent
fa08014226
commit
f57f159002
@ -127,11 +127,6 @@ class Visit extends AbstractEntity implements JsonSerializable
|
|||||||
return $this->visitLocation;
|
return $this->visitLocation;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isLocatable(): bool
|
|
||||||
{
|
|
||||||
return $this->hasRemoteAddr() && $this->remoteAddr !== IpAddress::LOCALHOST;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function locate(VisitLocation $visitLocation): self
|
public function locate(VisitLocation $visitLocation): self
|
||||||
{
|
{
|
||||||
$this->visitLocation = $visitLocation;
|
$this->visitLocation = $visitLocation;
|
||||||
|
Loading…
Reference in New Issue
Block a user