aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database
diff options
context:
space:
mode:
authorninioe <ninioe@gmail.com>2016-07-18 09:48:11 +0300
committerninioe <ninioe@gmail.com>2016-07-18 09:48:11 +0300
commit04627d7473e4ea21d6ecd950cbb3fdd6fa249429 (patch)
tree9fbc0e2ef3d33205e663f145db414c777769f7e1 /src/org/traccar/database
parent21711400b18970d8852294e186b529a3f891a332 (diff)
downloadtrackermap-server-04627d7473e4ea21d6ecd950cbb3fdd6fa249429.tar.gz
trackermap-server-04627d7473e4ea21d6ecd950cbb3fdd6fa249429.tar.bz2
trackermap-server-04627d7473e4ea21d6ecd950cbb3fdd6fa249429.zip
commented out code and unnecessary comments
Diffstat (limited to 'src/org/traccar/database')
-rw-r--r--src/org/traccar/database/DataManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java
index 239fc1930..bdd2e9adf 100644
--- a/src/org/traccar/database/DataManager.java
+++ b/src/org/traccar/database/DataManager.java
@@ -541,7 +541,7 @@ public class DataManager implements IdentityManager {
Date lastUpdate = device.getLastUpdate();
if(lastUpdate != null){
- Date dateBefore = new Date(lastUpdate.getTime() - histDays * 24 * 3600 * 1000 ); //Subtract histDays days
+ Date dateBefore = new Date(lastUpdate.getTime() - histDays * 24 * 3600 * 1000 );
//String dt = s.format(dateBefore);
QueryBuilder.create(dataSource, sql)