set active status for enroll device

4.x.x
manoj 10 years ago
parent b56e42792a
commit 60e539b583

@ -61,7 +61,6 @@ public class DeviceManagerImpl implements DeviceManager {
deviceDto.setStatus(Status.ACTIVE);
deviceDto.setDeviceTypeId(deviceTypeId);
this.getDeviceDAO().addDevice(deviceDto);
} catch (DeviceManagementDAOException e) {
throw new DeviceManagementException("Error occurred while enrolling the device '" + device.getId() + "'",
e);

Loading…
Cancel
Save