aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-07-24 17:03:54 +0500
committerAbyss777 <abyss@fox5.ru>2017-07-24 17:03:54 +0500
commit6e08953f5a482b6cecc439bd79b94c03638f77cf (patch)
tree36792a06b54da0b145b15ca87c5492d1dad352e1
parentaf00329fd0addf84071927dbc18cb0b4e5345f2b (diff)
downloadtrackermap-server-6e08953f5a482b6cecc439bd79b94c03638f77cf.tar.gz
trackermap-server-6e08953f5a482b6cecc439bd79b94c03638f77cf.tar.bz2
trackermap-server-6e08953f5a482b6cecc439bd79b94c03638f77cf.zip
Fix group cache update
-rw-r--r--src/org/traccar/database/DeviceManager.java2
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();