Removed unnecessary code

This commit is contained in:
Volodymyr Babak 2018-10-16 17:26:03 +03:00
parent 8b1a9351f3
commit ef9c432aec

View File

@ -140,12 +140,6 @@ public class EntityViewController extends BaseController {
} catch (ThingsboardException e) { } catch (ThingsboardException e) {
log.error("Failed to log attribute updates", 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 @Override