aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/events
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-08-14 16:40:45 +0500
committerAbyss777 <abyss@fox5.ru>2017-08-14 16:40:45 +0500
commitfdc14dd2a286b7d9470ff97703d120c217a39dcb (patch)
tree70118d6bb9c4894d043d46c32cc4558f6a00bbd3 /src/org/traccar/events
parent8313471a752dc08e5e7a270349e9f03417672b08 (diff)
downloadtrackermap-server-fdc14dd2a286b7d9470ff97703d120c217a39dcb.tar.gz
trackermap-server-fdc14dd2a286b7d9470ff97703d120c217a39dcb.tar.bz2
trackermap-server-fdc14dd2a286b7d9470ff97703d120c217a39dcb.zip
Rename parameter and field to "useIgnition"
Diffstat (limited to 'src/org/traccar/events')
-rw-r--r--src/org/traccar/events/MotionEventHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/events/MotionEventHandler.java b/src/org/traccar/events/MotionEventHandler.java
index 208fd5b42..8c2d4c56c 100644
--- a/src/org/traccar/events/MotionEventHandler.java
+++ b/src/org/traccar/events/MotionEventHandler.java
@@ -79,7 +79,7 @@ public class MotionEventHandler extends BaseEventHandler {
long motionTime = motionPosition.getFixTime().getTime();
double distance = ReportUtils.calculateDistance(motionPosition, position, false);
Boolean ignition = null;
- if (tripsConfig.getStopOnIgnitionOff()
+ if (tripsConfig.getUseIgnition()
&& position.getAttributes().containsKey(Position.KEY_IGNITION)) {
ignition = position.getBoolean(Position.KEY_IGNITION);
}