diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-17 22:54:51 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-17 22:54:51 +1200 |
commit | 546d09f050c4ccfe5021a31e480bad9e57006ecf (patch) | |
tree | dfb7429395e8e8899fab62f4d447bc5f4b037c9d /src/org/traccar | |
parent | acfff6030fb83eab523aa84a48252b391eb6c9d9 (diff) | |
download | trackermap-server-546d09f050c4ccfe5021a31e480bad9e57006ecf.tar.gz trackermap-server-546d09f050c4ccfe5021a31e480bad9e57006ecf.tar.bz2 trackermap-server-546d09f050c4ccfe5021a31e480bad9e57006ecf.zip |
Fix geofence manager crash
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/Context.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java index 1a35a2cb4..348b7edc2 100644 --- a/src/org/traccar/Context.java +++ b/src/org/traccar/Context.java @@ -277,12 +277,9 @@ public final class Context { connectionManager = new ConnectionManager(); - if (config.getBoolean("event.geofenceHandler")) { + if (config.getBoolean("event.enable")) { geofenceManager = new GeofenceManager(dataManager); calendarManager = new CalendarManager(dataManager); - } - - if (config.getBoolean("event.enable")) { notificationManager = new NotificationManager(dataManager); Properties velocityProperties = new Properties(); velocityProperties.setProperty("file.resource.loader.path", |