aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/api/BaseObjectResource.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-09-06 09:42:02 +1200
committerGitHub <noreply@github.com>2017-09-06 09:42:02 +1200
commit3e5167131c758dd6e75e0f5d9b265a1514baac0c (patch)
tree2f2d8bce250fa80fb1a1d1bf3b6a652060a18f2c /src/org/traccar/api/BaseObjectResource.java
parent36c62f0f2ca21ccd5040f8529f446b1b697dba69 (diff)
parentba892a34c4a78ddc4ec7b24cc72b62278f608322 (diff)
downloadtrackermap-server-3e5167131c758dd6e75e0f5d9b265a1514baac0c.tar.gz
trackermap-server-3e5167131c758dd6e75e0f5d9b265a1514baac0c.tar.bz2
trackermap-server-3e5167131c758dd6e75e0f5d9b265a1514baac0c.zip
Merge pull request #3504 from Abyss777/remove_aliases
Remove Attribute Aliases
Diffstat (limited to 'src/org/traccar/api/BaseObjectResource.java')
-rw-r--r--src/org/traccar/api/BaseObjectResource.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/org/traccar/api/BaseObjectResource.java b/src/org/traccar/api/BaseObjectResource.java
index a1b90bc28..b13dc2e71 100644
--- a/src/org/traccar/api/BaseObjectResource.java
+++ b/src/org/traccar/api/BaseObjectResource.java
@@ -138,10 +138,6 @@ public abstract class BaseObjectResource<T extends BaseModel> extends BaseResour
Context.getPermissionsManager().refreshAllExtendedPermissions();
}
}
- // Next should be removed with Attribute Aliases
- if (baseClass.equals(Device.class)) {
- Context.getAliasesManager().removeDevice(id);
- }
return Response.noContent().build();
}