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