set active status for enroll device

revert-70aa11f8
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