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);
|
this.modifyEnrollment(device);
|
||||||
status = true;
|
status = true;
|
||||||
} else {
|
} else {
|
||||||
|
if (!EnrolmentInfo.Status.REMOVED.equals(existingEnrolmentInfo.getStatus())) {
|
||||||
this.setStatus(deviceIdentifier, existingEnrolmentInfo.getOwner(), EnrolmentInfo.Status.INACTIVE);
|
this.setStatus(deviceIdentifier, existingEnrolmentInfo.getOwner(), EnrolmentInfo.Status.INACTIVE);
|
||||||
|
}
|
||||||
int enrolmentId;
|
int enrolmentId;
|
||||||
try {
|
try {
|
||||||
DeviceManagementDAOFactory.beginTransaction();
|
DeviceManagementDAOFactory.beginTransaction();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user