aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-05-02 10:54:53 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-05-02 10:54:53 +1200
commit61f8fc0da6d4062db34fcfe1d9609698a0de951a (patch)
tree6d9f9dba8c6c7925eba3e95ac390ba8b3fecfb0f /src/org
parent44f026f881efa6207ab79fb5bada20ab67f018a0 (diff)
downloadtraccar-server-61f8fc0da6d4062db34fcfe1d9609698a0de951a.tar.gz
traccar-server-61f8fc0da6d4062db34fcfe1d9609698a0de951a.tar.bz2
traccar-server-61f8fc0da6d4062db34fcfe1d9609698a0de951a.zip
Always initialize permissions manager
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/Context.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java
index e87f78d20..1aba24b8c 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -172,10 +172,11 @@ public final class Context {
}
if (config.getBoolean("web.enable")) {
- permissionsManager = new PermissionsManager(dataManager);
webServer = new WebServer(config, dataManager.getDataSource());
}
+ permissionsManager = new PermissionsManager(dataManager);
+
connectionManager = new ConnectionManager(dataManager);
serverManager = new ServerManager();