aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 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",