aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Context.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-01-05 10:35:10 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-01-05 10:35:10 +1300
commit547ba114449a882839498044d1bf9d0592c2174f (patch)
treee76e9e5249a8128087e2eaca778ee69fbb8cc880 /src/org/traccar/Context.java
parent1f1e3f227304bae09596fb511d6210438f394ca4 (diff)
parent2343c85411614b0e16bb8a24eaafd8f33e1cfa71 (diff)
downloadtrackermap-server-547ba114449a882839498044d1bf9d0592c2174f.tar.gz
trackermap-server-547ba114449a882839498044d1bf9d0592c2174f.tar.bz2
trackermap-server-547ba114449a882839498044d1bf9d0592c2174f.zip
Merge pull request #1606 from vitalidze/master
Commands sending integration
Diffstat (limited to 'src/org/traccar/Context.java')
-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());
}