From a037f91f56e4a86503ee54de328b3b18ee73e38e Mon Sep 17 00:00:00 2001 From: ayyoob Date: Wed, 24 May 2017 00:27:13 +0530 Subject: [PATCH] removed task Config from template --- .../mgt/jaxrs/service/impl/DeviceTypeManagementServiceImpl.java | 1 - 1 file changed, 1 deletion(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceTypeManagementServiceImpl.java b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceTypeManagementServiceImpl.java index 2cae1b931d..f1718c6ba7 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceTypeManagementServiceImpl.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceTypeManagementServiceImpl.java @@ -138,7 +138,6 @@ public class DeviceTypeManagementServiceImpl implements DeviceTypeManagementServ metaDefinition.setPushNotificationConfig(new PushNotificationConfig(metaDefinition. getPushNotificationConfig().getType(), false, null)); } - metaDefinition.setTaskConfig(null); deviceType.setDeviceTypeMetaDefinition(metaDefinition); return deviceType; }