From c1fe4a5dde06de4c3ed1acd90a1a1fbf9e9608a4 Mon Sep 17 00:00:00 2001 From: Artem Babak Date: Tue, 20 Oct 2020 13:44:42 +0300 Subject: [PATCH] Removed duplicated line in CustomerServiceImpl.java --- .../org/thingsboard/server/dao/customer/CustomerServiceImpl.java | 1 - 1 file changed, 1 deletion(-) diff --git a/dao/src/main/java/org/thingsboard/server/dao/customer/CustomerServiceImpl.java b/dao/src/main/java/org/thingsboard/server/dao/customer/CustomerServiceImpl.java index 21d31c894d..b84dde4002 100644 --- a/dao/src/main/java/org/thingsboard/server/dao/customer/CustomerServiceImpl.java +++ b/dao/src/main/java/org/thingsboard/server/dao/customer/CustomerServiceImpl.java @@ -119,7 +119,6 @@ public class CustomerServiceImpl extends AbstractEntityService implements Custom deviceService.unassignCustomerDevices(customer.getTenantId(), customerId); edgeService.unassignCustomerEdges(customer.getTenantId(), customerId); userService.deleteCustomerUsers(customer.getTenantId(), customerId); - edgeService.unassignCustomerEdges(customer.getTenantId(), customerId); deleteEntityRelations(tenantId, customerId); customerDao.removeById(tenantId, customerId.getId()); }