aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/TrackerEventHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/TrackerEventHandler.java')
-rw-r--r--src/org/traccar/TrackerEventHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/TrackerEventHandler.java b/src/org/traccar/TrackerEventHandler.java
index eee866a6d..31e6fb5cb 100644
--- a/src/org/traccar/TrackerEventHandler.java
+++ b/src/org/traccar/TrackerEventHandler.java
@@ -65,7 +65,7 @@ public class TrackerEventHandler extends IdleStateAwareChannelHandler {
if (lastPostition != null) {
try {
Context.getDataManager().updateLatestPosition(lastPostition);
- Context.getDataCache().update(lastPostition);
+ Context.getConnectionManager().update(lastPostition);
} catch (Exception error) {
Log.warning(error);
}