mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-10 01:03:13 +08:00
Updated ImportedLinksProcessor to support importing visits if provided
This commit is contained in:
@@ -63,8 +63,7 @@ class VisitLocator implements VisitLocatorInterface
|
||||
$location = Location::emptyInstance();
|
||||
}
|
||||
|
||||
$location = new VisitLocation($location);
|
||||
$this->locateVisit($visit, $location, $helper);
|
||||
$this->locateVisit($visit, VisitLocation::fromGeolocation($location), $helper);
|
||||
|
||||
// Flush and clear after X iterations
|
||||
if ($count % $persistBlock === 0) {
|
||||
|
||||
Reference in New Issue
Block a user