diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-09 07:00:20 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-09 07:00:20 -0700 |
commit | 12fe28bebbdbc61214363a9c7b51bd300ed62c15 (patch) | |
tree | 5e014f785a6f5856c24197b611fd108403bbd5e7 /src/main/java/org/traccar/database/DeviceManager.java | |
parent | c4ff983ffe9a03a57d3ab0596abe8bce08c1ae2e (diff) | |
download | trackermap-server-12fe28bebbdbc61214363a9c7b51bd300ed62c15.tar.gz trackermap-server-12fe28bebbdbc61214363a9c7b51bd300ed62c15.tar.bz2 trackermap-server-12fe28bebbdbc61214363a9c7b51bd300ed62c15.zip |
Remove geofence manager
Diffstat (limited to 'src/main/java/org/traccar/database/DeviceManager.java')
-rw-r--r-- | src/main/java/org/traccar/database/DeviceManager.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main/java/org/traccar/database/DeviceManager.java b/src/main/java/org/traccar/database/DeviceManager.java index 0bac8f642..20f179f2e 100644 --- a/src/main/java/org/traccar/database/DeviceManager.java +++ b/src/main/java/org/traccar/database/DeviceManager.java @@ -218,12 +218,6 @@ public class DeviceManager extends BaseObjectManager<Device> implements Identity protected void addNewItem(Device device) { super.addNewItem(device); addByUniqueId(device); - if (Context.getGeofenceManager() != null) { - Position lastPosition = getLastPosition(device.getId()); - if (lastPosition != null) { - device.setGeofenceIds(Context.getGeofenceManager().getCurrentDeviceGeofences(lastPosition)); - } - } } @Override |