aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database
diff options
context:
space:
mode:
authorIvan Martinez <ivanfmartinez@users.noreply.github.com>2018-06-01 09:48:07 -0300
committerIvan Martinez <ivanfmartinez@users.noreply.github.com>2018-06-01 09:48:07 -0300
commit4fc750b585dd6b2953b16408dd57a8ef93fdeee9 (patch)
tree8697ae3559ad7b5e4e9b667a6d2faef568769b1a /src/org/traccar/database
parent8ca7b2d0d9b5e18dd7e96a2cf5b1b8d8d751051a (diff)
downloadtrackermap-server-4fc750b585dd6b2953b16408dd57a8ef93fdeee9.tar.gz
trackermap-server-4fc750b585dd6b2953b16408dd57a8ef93fdeee9.tar.bz2
trackermap-server-4fc750b585dd6b2953b16408dd57a8ef93fdeee9.zip
move NotificatorManager instance to Context
Diffstat (limited to 'src/org/traccar/database')
-rw-r--r--src/org/traccar/database/NotificationManager.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/org/traccar/database/NotificationManager.java b/src/org/traccar/database/NotificationManager.java
index 10c76181a..a10fbf69a 100644
--- a/src/org/traccar/database/NotificationManager.java
+++ b/src/org/traccar/database/NotificationManager.java
@@ -32,7 +32,6 @@ import org.traccar.model.Event;
import org.traccar.model.Notification;
import org.traccar.model.Position;
import org.traccar.model.Typed;
-import org.traccar.notification.NotificatorManager;
public class NotificationManager extends ExtendedObjectManager<Notification> {
@@ -90,7 +89,7 @@ public class NotificationManager extends ExtendedObjectManager<Notification> {
}
}
for (String nm : notificationMethods) {
- NotificatorManager.getNotificator(nm).sendAsync(userId, event, position);
+ Context.getNotificatorManager().getNotificator(nm).sendAsync(userId, event, position);
}
}
}