diff options
author | Anton Tananaev <anton@traccar.org> | 2024-04-20 07:28:01 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-04-20 07:28:01 -0700 |
commit | fb7a817440f3734e465c7843024d676c13f82d24 (patch) | |
tree | 74a996c4120370384b8d0147d8ebeeaac930c95a /src/main/java/org/traccar | |
parent | 9e41b5f94063fa9f40725d115d16b9a2c1842720 (diff) | |
download | trackermap-server-fb7a817440f3734e465c7843024d676c13f82d24.tar.gz trackermap-server-fb7a817440f3734e465c7843024d676c13f82d24.tar.bz2 trackermap-server-fb7a817440f3734e465c7843024d676c13f82d24.zip |
Fix configuration issues
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r-- | src/main/java/org/traccar/config/Keys.java | 2 | ||||
-rw-r--r-- | src/main/java/org/traccar/schedule/TaskExpirations.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java index a2aa42e1c..0898e8f0a 100644 --- a/src/main/java/org/traccar/config/Keys.java +++ b/src/main/java/org/traccar/config/Keys.java @@ -601,7 +601,7 @@ public final class Keys { "uid"); /** - * LDAP attribute used as user name. Default value is 'cn'. + * LDAP attribute used as username. Default value is 'cn'. */ public static final ConfigKey<String> LDAP_NAME_ATTRIBUTE = new StringConfigKey( "ldap.nameAttribute", diff --git a/src/main/java/org/traccar/schedule/TaskExpirations.java b/src/main/java/org/traccar/schedule/TaskExpirations.java index 94f855c5f..e16dcd86c 100644 --- a/src/main/java/org/traccar/schedule/TaskExpirations.java +++ b/src/main/java/org/traccar/schedule/TaskExpirations.java @@ -111,7 +111,7 @@ public class TaskExpirations implements ScheduleTask { } if (config.getBoolean(Keys.NOTIFICATION_EXPIRATION_DEVICE)) { - long reminder = config.getLong(Keys.NOTIFICATION_EXPIRATION_USER_REMINDER); + long reminder = config.getLong(Keys.NOTIFICATION_EXPIRATION_DEVICE_REMINDER); var devices = storage.getObjects(Device.class, new Request(new Columns.All())); for (Device device : devices) { if (checkTimeTrigger(device, currentTime, 0)) { |