diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-09 17:09:52 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-09 17:09:52 -0700 |
commit | 29b5d05cfd66a9f51b7ce272c1fb07077bc715b2 (patch) | |
tree | f9e4df6f47fd3723fe972893ca34273aa9979432 /src/main/java/org/traccar/Context.java | |
parent | 5b6bba55d960dcf4fc7721d1d2e75b950bb13809 (diff) | |
download | trackermap-server-29b5d05cfd66a9f51b7ce272c1fb07077bc715b2.tar.gz trackermap-server-29b5d05cfd66a9f51b7ce272c1fb07077bc715b2.tar.bz2 trackermap-server-29b5d05cfd66a9f51b7ce272c1fb07077bc715b2.zip |
Remove WebServer from context
Diffstat (limited to 'src/main/java/org/traccar/Context.java')
-rw-r--r-- | src/main/java/org/traccar/Context.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/main/java/org/traccar/Context.java b/src/main/java/org/traccar/Context.java index 46c761094..3e4cc1bb9 100644 --- a/src/main/java/org/traccar/Context.java +++ b/src/main/java/org/traccar/Context.java @@ -46,7 +46,6 @@ import org.traccar.session.cache.CacheManager; import org.traccar.sms.HttpSmsClient; import org.traccar.sms.SmsManager; import org.traccar.sms.SnsSmsClient; -import org.traccar.web.WebServer; import javax.ws.rs.client.Client; import javax.ws.rs.client.ClientBuilder; @@ -124,12 +123,6 @@ public final class Context { return Main.getInjector() != null ? Main.getInjector().getInstance(Geocoder.class) : null; } - private static WebServer webServer; - - public static WebServer getWebServer() { - return webServer; - } - private static NotificationManager notificationManager; public static NotificationManager getNotificationManager() { @@ -210,10 +203,6 @@ public final class Context { identityManager = deviceManager; - if (config.hasKey(Keys.WEB_PORT)) { - webServer = new WebServer(config); - } - permissionsManager = new PermissionsManager(dataManager, usersManager); connectionManager = new ConnectionManager(); |