aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/NotificationManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-18 10:32:02 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-12-18 10:32:02 +1300
commitb580bf533b6f74749b96adf3652f5584425abe69 (patch)
tree5d5a7ffccce8c6633b33d15d561bfa3b68af6781 /src/org/traccar/database/NotificationManager.java
parent2f3d3bce533b5fe7f5b4f530fa5360db2ba2262d (diff)
downloadtrackermap-server-b580bf533b6f74749b96adf3652f5584425abe69.tar.gz
trackermap-server-b580bf533b6f74749b96adf3652f5584425abe69.tar.bz2
trackermap-server-b580bf533b6f74749b96adf3652f5584425abe69.zip
Do not send position with events
Diffstat (limited to 'src/org/traccar/database/NotificationManager.java')
-rw-r--r--src/org/traccar/database/NotificationManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/NotificationManager.java b/src/org/traccar/database/NotificationManager.java
index ee804f5cd..4ae173c6a 100644
--- a/src/org/traccar/database/NotificationManager.java
+++ b/src/org/traccar/database/NotificationManager.java
@@ -60,7 +60,7 @@ public class NotificationManager {
Notification notification = getUserNotificationByType(userId, event.getType());
if (notification != null) {
if (notification.getWeb()) {
- Context.getConnectionManager().updateEvent(userId, event, position);
+ Context.getConnectionManager().updateEvent(userId, event);
}
if (notification.getMail()) {
NotificationMail.sendMailAsync(userId, event, position);