aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/Context.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java
index c833d0c2e..55561b921 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -168,10 +168,7 @@ public final class Context {
}
if (config.getBoolean("web.enable")) {
- if (config.getString("web.type", "new").equals("new")
- || config.getString("web.type", "new").equals("api")) {
- permissionsManager = new PermissionsManager(dataManager);
- }
+ permissionsManager = new PermissionsManager(dataManager);
webServer = new WebServer(config, dataManager.getDataSource());
}