diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-01-22 18:20:50 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-01-22 18:20:50 +1300 |
commit | 68b2d3ab8897114dac8cd92618cf0777f630750a (patch) | |
tree | 9a7bd794bea8281e06340be957eb0c2305d1c223 /src/org/traccar/DefaultDataHandler.java | |
parent | d6b498b1798b1ff2059a1338ca68e958699ef028 (diff) | |
download | trackermap-server-68b2d3ab8897114dac8cd92618cf0777f630750a.tar.gz trackermap-server-68b2d3ab8897114dac8cd92618cf0777f630750a.tar.bz2 trackermap-server-68b2d3ab8897114dac8cd92618cf0777f630750a.zip |
Use consistent server time
Diffstat (limited to 'src/org/traccar/DefaultDataHandler.java')
-rw-r--r-- | src/org/traccar/DefaultDataHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/DefaultDataHandler.java b/src/org/traccar/DefaultDataHandler.java index e32fe0e7d..1ac3efc77 100644 --- a/src/org/traccar/DefaultDataHandler.java +++ b/src/org/traccar/DefaultDataHandler.java @@ -24,7 +24,7 @@ public class DefaultDataHandler extends BaseDataHandler { protected Position handlePosition(Position position) { try { - Context.getDataManager().addPosition(position); + Context.getDataManager().addObject(position); } catch (Exception error) { Log.warning(error); } |