diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-05-12 04:15:50 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-05-12 04:15:50 +1200 |
commit | dd32e2d8d149f1394ac79d5178ad365892e7df76 (patch) | |
tree | 8cd4a15e1de9d875cd490e1ca4af3901266f93ce /src/org/traccar/Main.java | |
parent | b5a311cad65f3be723981e9c338fadc33c20bcf6 (diff) | |
download | trackermap-server-dd32e2d8d149f1394ac79d5178ad365892e7df76.tar.gz trackermap-server-dd32e2d8d149f1394ac79d5178ad365892e7df76.tar.bz2 trackermap-server-dd32e2d8d149f1394ac79d5178ad365892e7df76.zip |
Clear event history (fix #3160)
Diffstat (limited to 'src/org/traccar/Main.java')
-rw-r--r-- | src/org/traccar/Main.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/Main.java b/src/org/traccar/Main.java index 21625d3c1..1e2db2693 100644 --- a/src/org/traccar/Main.java +++ b/src/org/traccar/Main.java @@ -44,7 +44,7 @@ public final class Main { @Override public void run() { try { - Context.getDataManager().clearPositionsHistory(); + Context.getDataManager().clearHistory(); } catch (SQLException error) { Log.warning(error); } |