aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/database/ConnectionManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-03-15 15:58:52 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-03-15 15:58:52 -0700
commit11dcacc2fdfd29f4440c8c46e501ef565f9b1dfd (patch)
treead4aff5cb82af52d35e961de6ed69d8914b5e17a /src/main/java/org/traccar/database/ConnectionManager.java
parent6adcd4a8dd950a5f945c818280974a0302c9fd8b (diff)
downloadtrackermap-server-11dcacc2fdfd29f4440c8c46e501ef565f9b1dfd.tar.gz
trackermap-server-11dcacc2fdfd29f4440c8c46e501ef565f9b1dfd.tar.bz2
trackermap-server-11dcacc2fdfd29f4440c8c46e501ef565f9b1dfd.zip
Decoder to send queued commands
Diffstat (limited to 'src/main/java/org/traccar/database/ConnectionManager.java')
-rw-r--r--src/main/java/org/traccar/database/ConnectionManager.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/java/org/traccar/database/ConnectionManager.java b/src/main/java/org/traccar/database/ConnectionManager.java
index dd0071143..4d43bc71b 100644
--- a/src/main/java/org/traccar/database/ConnectionManager.java
+++ b/src/main/java/org/traccar/database/ConnectionManager.java
@@ -139,10 +139,6 @@ public class ConnectionManager {
}
updateDevice(device);
-
- if (status.equals(Device.STATUS_ONLINE) && !oldStatus.equals(Device.STATUS_ONLINE)) {
- Context.getCommandsManager().sendQueuedCommands(getActiveDevice(deviceId));
- }
}
public Map<Event, Position> updateDeviceState(long deviceId) {