Browse Source

Removed unnecessary code

pull/1151/head
Volodymyr Babak 8 years ago
parent
commit
ef9c432aec
  1. 6
      application/src/main/java/org/thingsboard/server/controller/EntityViewController.java

6
application/src/main/java/org/thingsboard/server/controller/EntityViewController.java

@ -140,12 +140,6 @@ public class EntityViewController extends BaseController {
} catch (ThingsboardException e) {
log.error("Failed to log attribute updates", e);
}
if (entityId.getEntityType() == EntityType.ENTITY_VIEW) {
DeviceId deviceId = new DeviceId(entityId.getId());
DeviceAttributesEventNotificationMsg notificationMsg = DeviceAttributesEventNotificationMsg.onUpdate(
user.getTenantId(), deviceId, scope, attributes);
actorService.onMsg(new SendToClusterMsg(deviceId, notificationMsg));
}
}
@Override

Loading…
Cancel
Save