revert-70aa11f8
hasuniea 9 years ago
commit d8e40fb8d6

@ -145,7 +145,9 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
this.modifyEnrollment(device);
status = true;
} else {
if (!EnrolmentInfo.Status.REMOVED.equals(existingEnrolmentInfo.getStatus())) {
this.setStatus(deviceIdentifier, existingEnrolmentInfo.getOwner(), EnrolmentInfo.Status.INACTIVE);
}
int enrolmentId;
try {
DeviceManagementDAOFactory.beginTransaction();

Loading…
Cancel
Save