aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorAnton Tananaev <atananaev@lyft.com>2020-12-29 10:51:45 -0800
committerAnton Tananaev <atananaev@lyft.com>2020-12-29 10:51:45 -0800
commitd6862a9259a0f922120740896f30df631e03eb3e (patch)
tree43a8192b80703f4ee11b04749fe207539bda6aea /src/main
parent20c24364739c794f3c005c1e070247e9bb6573f3 (diff)
downloadtrackermap-server-d6862a9259a0f922120740896f30df631e03eb3e.tar.gz
trackermap-server-d6862a9259a0f922120740896f30df631e03eb3e.tar.bz2
trackermap-server-d6862a9259a0f922120740896f30df631e03eb3e.zip
Remove deprecated config
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/traccar/BaseProtocolDecoder.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main/java/org/traccar/BaseProtocolDecoder.java b/src/main/java/org/traccar/BaseProtocolDecoder.java
index 50e80a457..4c35bb471 100644
--- a/src/main/java/org/traccar/BaseProtocolDecoder.java
+++ b/src/main/java/org/traccar/BaseProtocolDecoder.java
@@ -93,12 +93,6 @@ public abstract class BaseProtocolDecoder extends ExtendedObjectDecoder {
String timeZoneName = identityManager.lookupAttributeString(deviceId, "decoder.timezone", null, false, true);
if (timeZoneName != null) {
result = TimeZone.getTimeZone(timeZoneName);
- } else {
- int timeZoneOffset = config.getInteger(getProtocolName() + ".timezone", 0);
- if (timeZoneOffset != 0) {
- result.setRawOffset(timeZoneOffset * 1000);
- LOGGER.warn("Config parameter " + getProtocolName() + ".timezone is deprecated");
- }
}
return result;
}