mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixed bugs in device disenrolment
This commit is contained in:
parent
5a8975d7ac
commit
7ec10d670c
@ -233,6 +233,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
|
||||
|
||||
device.getEnrolmentInfo().setDateOfLastUpdate(new Date().getTime());
|
||||
device.getEnrolmentInfo().setStatus(EnrolmentInfo.Status.REMOVED);
|
||||
enrolmentDAO.updateEnrollment(device.getId(), device.getEnrolmentInfo(), tenantId);
|
||||
deviceDAO.updateDevice(deviceType.getId(), device, tenantId);
|
||||
|
||||
} catch (DeviceManagementDAOException e) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user