diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/internal/DeviceManagementDataHolder.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/internal/DeviceManagementDataHolder.java index 67c3ac1f5b3..4ad6790ffde 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/internal/DeviceManagementDataHolder.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/internal/DeviceManagementDataHolder.java @@ -36,14 +36,6 @@ public class DeviceManagementDataHolder { private RegistryService registryService; private LicenseConfig licenseConfig; - public static EmailVerifcationSubscriber getEmailVerificationSubscriber() { - return emailVerificationSubscriber; - } - - public static void setEmailVerificationSubscriber(EmailVerifcationSubscriber emailVerificationSubscriber) { - DeviceManagementDataHolder.emailVerificationSubscriber = emailVerificationSubscriber; - } - private static EmailVerifcationSubscriber emailVerificationSubscriber; private static DeviceManagementDataHolder thisInstance = new DeviceManagementDataHolder();