diff options
author | Abyss777 <abyss@fox5.ru> | 2017-07-24 17:03:54 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-07-24 17:03:54 +0500 |
commit | 6e08953f5a482b6cecc439bd79b94c03638f77cf (patch) | |
tree | 36792a06b54da0b145b15ca87c5492d1dad352e1 /src/org/traccar/database | |
parent | af00329fd0addf84071927dbc18cb0b4e5345f2b (diff) | |
download | trackermap-server-6e08953f5a482b6cecc439bd79b94c03638f77cf.tar.gz trackermap-server-6e08953f5a482b6cecc439bd79b94c03638f77cf.tar.bz2 trackermap-server-6e08953f5a482b6cecc439bd79b94c03638f77cf.zip |
Fix group cache update
Diffstat (limited to 'src/org/traccar/database')
-rw-r--r-- | src/org/traccar/database/DeviceManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/DeviceManager.java b/src/org/traccar/database/DeviceManager.java index ba360f165..6637df91c 100644 --- a/src/org/traccar/database/DeviceManager.java +++ b/src/org/traccar/database/DeviceManager.java @@ -306,7 +306,7 @@ public class DeviceManager implements IdentityManager { } for (Long cachedGroupId : groupsById.keySet()) { if (!databaseGroupsIds.contains(cachedGroupId)) { - devicesById.remove(cachedGroupId); + groupsById.remove(cachedGroupId); } } databaseGroupsIds.clear(); |