mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge pull request #1147 from rasika/fix-1553
Fixing cannot publish policies without enrolling a device
This commit is contained in:
commit
83ae57a044
@ -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…
Reference in New Issue
Block a user