aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/DataManager.java
diff options
context:
space:
mode:
authorGábor Somogyi <gabor.g.somogyi@gmail.com>2016-05-03 23:15:27 +0200
committerGábor Somogyi <gabor.g.somogyi@gmail.com>2016-05-03 23:15:27 +0200
commit1a605980b1a120614ccaeb56faac37b05a81a4e9 (patch)
tree1fa6bf7b360e4c829c8d1ddb51b4012e46f98933 /src/org/traccar/database/DataManager.java
parent572db06a7bbe15bbf98cd695d06b701ff8652b77 (diff)
downloadtrackermap-server-1a605980b1a120614ccaeb56faac37b05a81a4e9.tar.gz
trackermap-server-1a605980b1a120614ccaeb56faac37b05a81a4e9.tar.bz2
trackermap-server-1a605980b1a120614ccaeb56faac37b05a81a4e9.zip
Removed database.selectLatestPosition
Diffstat (limited to 'src/org/traccar/database/DataManager.java')
-rw-r--r--src/org/traccar/database/DataManager.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java
index 3dba215f6..3732c82eb 100644
--- a/src/org/traccar/database/DataManager.java
+++ b/src/org/traccar/database/DataManager.java
@@ -472,12 +472,6 @@ public class DataManager implements IdentityManager {
.executeQuery(Position.class);
}
- public Position getLatestPosition(long deviceId) throws SQLException {
- return QueryBuilder.create(dataSource, getQuery("database.selectLatestPosition"))
- .setLong("deviceId", deviceId)
- .executeQuerySingle(Position.class);
- }
-
public Server getServer() throws SQLException {
return QueryBuilder.create(dataSource, getQuery("database.selectServers"))
.executeQuerySingle(Server.class);