aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/BaseProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/BaseProtocolDecoder.java')
-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;
}