mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge branch 'master' of https://github.com/wso2/carbon-device-mgt
This commit is contained in:
commit
42c368934b
@ -243,8 +243,8 @@ public class DeviceManagementServiceProviderImpl implements DeviceManagementServ
|
|||||||
String subject = "";
|
String subject = "";
|
||||||
|
|
||||||
for(NotificationMessages notificationMessage : notificationMessages){
|
for(NotificationMessages notificationMessage : notificationMessages){
|
||||||
if (notificationMessage.getType().equals(DeviceManagementConstants.EmailNotifications
|
if (DeviceManagementConstants.EmailNotifications.ENROL_NOTIFICATION_TYPE.
|
||||||
.ENROL_NOTIFICATION_TYPE)){
|
equals(notificationMessage.getType())) {
|
||||||
messageHeader = notificationMessage.getHeader();
|
messageHeader = notificationMessage.getHeader();
|
||||||
messageBody = notificationMessage.getBody();
|
messageBody = notificationMessage.getBody();
|
||||||
messageFooter = notificationMessage.getFooter();
|
messageFooter = notificationMessage.getFooter();
|
||||||
@ -298,8 +298,8 @@ public class DeviceManagementServiceProviderImpl implements DeviceManagementServ
|
|||||||
String subject = "";
|
String subject = "";
|
||||||
|
|
||||||
for(NotificationMessages notificationMessage : notificationMessages){
|
for(NotificationMessages notificationMessage : notificationMessages){
|
||||||
if (notificationMessage.getType().equals(DeviceManagementConstants.EmailNotifications
|
if (DeviceManagementConstants.EmailNotifications.USER_REGISTRATION_NOTIFICATION_TYPE.
|
||||||
.USER_REGISTRATION_NOTIFICATION_TYPE)){
|
equals(notificationMessage.getType())) {
|
||||||
messageHeader = notificationMessage.getHeader();
|
messageHeader = notificationMessage.getHeader();
|
||||||
messageBody = notificationMessage.getBody();
|
messageBody = notificationMessage.getBody();
|
||||||
messageFooter = notificationMessage.getFooter();
|
messageFooter = notificationMessage.getFooter();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user