aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/api/resource/DeviceResource.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-09-21 16:27:55 +0500
committerAbyss777 <abyss@fox5.ru>2016-09-21 16:27:55 +0500
commitbaad910016f2f17e6bf89f9d5db17349c4a9a62a (patch)
tree559c919ea736013ff758d5145082bf9fa65751ac /src/org/traccar/api/resource/DeviceResource.java
parent9ee812366367148387f289b9977fd809e6a56786 (diff)
downloadtrackermap-server-baad910016f2f17e6bf89f9d5db17349c4a9a62a.tar.gz
trackermap-server-baad910016f2f17e6bf89f9d5db17349c4a9a62a.tar.bz2
trackermap-server-baad910016f2f17e6bf89f9d5db17349c4a9a62a.zip
Add attributes aliases
Diffstat (limited to 'src/org/traccar/api/resource/DeviceResource.java')
-rw-r--r--src/org/traccar/api/resource/DeviceResource.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/api/resource/DeviceResource.java b/src/org/traccar/api/resource/DeviceResource.java
index b12ab8c36..56787b7bb 100644
--- a/src/org/traccar/api/resource/DeviceResource.java
+++ b/src/org/traccar/api/resource/DeviceResource.java
@@ -88,6 +88,7 @@ public class DeviceResource extends BaseResource {
if (Context.getGeofenceManager() != null) {
Context.getGeofenceManager().refresh();
}
+ Context.getAliasesManager().removeDevice(id);
return Response.noContent().build();
}