mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixed EMM-910
This commit is contained in:
parent
b7edc80c0e
commit
74a3b0e346
@ -144,7 +144,9 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
|
||||
this.modifyEnrollment(device);
|
||||
status = true;
|
||||
} else {
|
||||
this.setStatus(deviceIdentifier, existingEnrolmentInfo.getOwner(), EnrolmentInfo.Status.INACTIVE);
|
||||
if (!EnrolmentInfo.Status.REMOVED.equals(existingEnrolmentInfo.getStatus())) {
|
||||
this.setStatus(deviceIdentifier, existingEnrolmentInfo.getOwner(), EnrolmentInfo.Status.INACTIVE);
|
||||
}
|
||||
int enrolmentId;
|
||||
try {
|
||||
DeviceManagementDAOFactory.beginTransaction();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user