aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/api/resource/DeviceResource.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-09-22 17:51:23 +1200
committerGitHub <noreply@github.com>2016-09-22 17:51:23 +1200
commit05cb432d786e3e4248b54dc47d457ebf9e33ba62 (patch)
tree2534c50504dc2282417b5d14567155977d0c32fb /src/org/traccar/api/resource/DeviceResource.java
parent55ee0b56cd1f668711b9ffc82e7d90961435b42f (diff)
parentc8816bdd85d62fb767795b2dc4d31326fdad9cd5 (diff)
downloadtrackermap-server-05cb432d786e3e4248b54dc47d457ebf9e33ba62.tar.gz
trackermap-server-05cb432d786e3e4248b54dc47d457ebf9e33ba62.tar.bz2
trackermap-server-05cb432d786e3e4248b54dc47d457ebf9e33ba62.zip
Merge pull request #2354 from Abyss777/device_attribute_aliases
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();
}