diff options
author | Anton Tananaev <atananaev@lyft.com> | 2020-12-29 10:51:45 -0800 |
---|---|---|
committer | Anton Tananaev <atananaev@lyft.com> | 2020-12-29 10:51:45 -0800 |
commit | d6862a9259a0f922120740896f30df631e03eb3e (patch) | |
tree | 43a8192b80703f4ee11b04749fe207539bda6aea /src/main/java/org | |
parent | 20c24364739c794f3c005c1e070247e9bb6573f3 (diff) | |
download | traccar-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.java | 6 |
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; } |