aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/NotificationManager.java
diff options
context:
space:
mode:
authorIvan Martinez <ivanfmartinez@users.noreply.github.com>2018-06-01 07:29:09 -0300
committerIvan Martinez <ivanfmartinez@users.noreply.github.com>2018-06-01 07:29:09 -0300
commit25eb3d86b97f8a0eb806f3e0c572d80c495257d6 (patch)
tree4e47ee8bd6247c725b912984069beeda8c9918cd /src/org/traccar/database/NotificationManager.java
parent9339c709e5a6d521fd0bdd4b1221b909c0a888d6 (diff)
downloadtrackermap-server-25eb3d86b97f8a0eb806f3e0c572d80c495257d6.tar.gz
trackermap-server-25eb3d86b97f8a0eb806f3e0c572d80c495257d6.tar.bz2
trackermap-server-25eb3d86b97f8a0eb806f3e0c572d80c495257d6.zip
replace database definition with comma separated list
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 37c6b720c..10c76181a 100644
--- a/src/org/traccar/database/NotificationManager.java
+++ b/src/org/traccar/database/NotificationManager.java
@@ -86,7 +86,7 @@ public class NotificationManager extends ExtendedObjectManager<Notification> {
for (long notificationId : getEffectiveNotifications(userId, deviceId, event.getServerTime())) {
Notification notification = getById(notificationId);
if (getById(notificationId).getType().equals(event.getType())) {
- notificationMethods.addAll(notification.getMethods());
+ notificationMethods.addAll(notification.getTransportMethods());
}
}
for (String nm : notificationMethods) {