diff options
author | Abyss777 <abyss@fox5.ru> | 2017-07-31 14:08:36 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-07-31 15:17:59 +0500 |
commit | ae76cbf971bfc9e47ef21e87606dacc7c0e3ddc6 (patch) | |
tree | ad0679fac893b5000f1abfaeee9f4433b3596374 /src/org/traccar/database/StatisticsManager.java | |
parent | d3021c9ae11b177fe05b79e98f1e560e8c3cbaf5 (diff) | |
download | trackermap-server-ae76cbf971bfc9e47ef21e87606dacc7c0e3ddc6.tar.gz trackermap-server-ae76cbf971bfc9e47ef21e87606dacc7c0e3ddc6.tar.bz2 trackermap-server-ae76cbf971bfc9e47ef21e87606dacc7c0e3ddc6.zip |
Implement SQL requests construction
Diffstat (limited to 'src/org/traccar/database/StatisticsManager.java')
-rw-r--r-- | src/org/traccar/database/StatisticsManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/StatisticsManager.java b/src/org/traccar/database/StatisticsManager.java index 5b42416ad..06a3e7b35 100644 --- a/src/org/traccar/database/StatisticsManager.java +++ b/src/org/traccar/database/StatisticsManager.java @@ -61,7 +61,7 @@ public class StatisticsManager { statistics.setGeolocationRequests(geolocationRequests); try { - Context.getDataManager().addStatistics(statistics); + Context.getDataManager().addObject(statistics); } catch (SQLException e) { Log.warning(e); } |