Update DeviceManagementServiceProviderImpl.java

This commit is contained in:
Milan Perera 2015-05-19 17:26:24 +05:30
parent 8f00128ab1
commit 7d3bf84d9f

View File

@ -136,8 +136,7 @@ public class DeviceManagementServiceProviderImpl implements DeviceManagementServ
public boolean disenrollDevice(DeviceIdentifier deviceId) throws DeviceManagementException {
DeviceManager dms =
this.getPluginRepository().getDeviceManagementProvider(deviceId.getType());
boolean status = dms.disenrollDevice(deviceId);
return status;
return dms.disenrollDevice(deviceId);
}
@Override