set active status for enroll device

This commit is contained in:
manoj 2015-01-27 20:20:42 +05:30
parent b56e42792a
commit 60e539b583

View File

@ -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);