diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-12-29 22:20:03 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-12-29 22:20:03 -0800 |
commit | 8fe1e679935688676f7139bb9ed6dc61838d0e2f (patch) | |
tree | 75704a42322d85d7245658b8d06aea9def6132a1 /src/main/java/org/traccar/Context.java | |
parent | 7f0692101a017f33ffb984e6df92e5dbef6ce71b (diff) | |
download | trackermap-server-8fe1e679935688676f7139bb9ed6dc61838d0e2f.tar.gz trackermap-server-8fe1e679935688676f7139bb9ed6dc61838d0e2f.tar.bz2 trackermap-server-8fe1e679935688676f7139bb9ed6dc61838d0e2f.zip |
Migrate SMS config keys
Diffstat (limited to 'src/main/java/org/traccar/Context.java')
-rw-r--r-- | src/main/java/org/traccar/Context.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/Context.java b/src/main/java/org/traccar/Context.java index 438c99a6d..9a382adb4 100644 --- a/src/main/java/org/traccar/Context.java +++ b/src/main/java/org/traccar/Context.java @@ -305,7 +305,7 @@ public final class Context { identityManager = deviceManager; - if (config.getBoolean("web.enable")) { + if (config.hasKey(Keys.WEB_PORT)) { webServer = new WebServer(config); } @@ -315,7 +315,7 @@ public final class Context { tripsConfig = initTripsConfig(); - if (config.getBoolean("sms.enable")) { + if (config.hasKey(Keys.SMS_HTTP_URL)) { smsManager = new HttpSmsClient(); } |