From d6862a9259a0f922120740896f30df631e03eb3e Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 29 Dec 2020 10:51:45 -0800 Subject: Remove deprecated config --- src/main/java/org/traccar/BaseProtocolDecoder.java | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/main/java/org') 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; } -- cgit v1.2.3