aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
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/java/org
parent20c24364739c794f3c005c1e070247e9bb6573f3 (diff)
downloadtraccar-server-d6862a9259a0f922120740896f30df631e03eb3e.tar.gz
traccar-server-d6862a9259a0f922120740896f30df631e03eb3e.tar.bz2
traccar-server-d6862a9259a0f922120740896f30df631e03eb3e.zip
Remove deprecated config
Diffstat (limited to 'src/main/java/org')
-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;
}