Merge pull request #1147 from rasika/fix-1553

Fixing cannot publish policies without enrolling a device
revert-70aa11f8
Rasika Perera 7 years ago committed by GitHub
commit 83ae57a044
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -558,7 +558,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
DeviceManagementDAOFactory.closeConnection(); DeviceManagementDAOFactory.closeConnection();
} }
if (requireDeviceInfo) { if (!allDevices.isEmpty() && requireDeviceInfo) {
return this.getAllDeviceInfo(allDevices); return this.getAllDeviceInfo(allDevices);
} }
return allDevices; return allDevices;

Loading…
Cancel
Save