diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-18 13:19:53 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-18 13:19:53 -0700 |
commit | 3a293661cd2900c115cfea6037c02d659c57aa52 (patch) | |
tree | de6f5f187af17b0272654016a6c2049c98f67d9a /src/main/java/org/traccar/database/DataManager.java | |
parent | 589582c7ecc0d1cd5321cb6e9f4b823284369498 (diff) | |
download | trackermap-server-3a293661cd2900c115cfea6037c02d659c57aa52.tar.gz trackermap-server-3a293661cd2900c115cfea6037c02d659c57aa52.tar.bz2 trackermap-server-3a293661cd2900c115cfea6037c02d659c57aa52.zip |
Move device status
Diffstat (limited to 'src/main/java/org/traccar/database/DataManager.java')
-rw-r--r-- | src/main/java/org/traccar/database/DataManager.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/main/java/org/traccar/database/DataManager.java b/src/main/java/org/traccar/database/DataManager.java index bfc79eb77..398c63892 100644 --- a/src/main/java/org/traccar/database/DataManager.java +++ b/src/main/java/org/traccar/database/DataManager.java @@ -16,7 +16,6 @@ package org.traccar.database; import org.traccar.model.BaseModel; -import org.traccar.model.Device; import org.traccar.model.Server; import org.traccar.storage.Storage; import org.traccar.storage.StorageException; @@ -36,12 +35,6 @@ public class DataManager { this.storage = storage; } - public void updateDeviceStatus(Device device) throws StorageException { - storage.updateObject(device, new Request( - new Columns.Include("lastUpdate"), - new Condition.Equals("id", "id"))); - } - public Server getServer() throws StorageException { return storage.getObject(Server.class, new Request(new Columns.All())); } |