fixed typo

This commit is contained in:
Massimiliano Assante 2021-05-13 18:11:38 +02:00
parent a05be29b1f
commit 1a6c11db1d
1 changed files with 1 additions and 1 deletions

View File

@ -1522,7 +1522,7 @@ public class UsersManagementPortletHome extends GenericPortlet {
String properEmailSubject = EmailPartsConstruction.getRoleAssignmentRevokeSubject(new LiferayGroupManager().getGroup(groupId).getGroupName());
TemplateUserRolesModifiedForGroup templateUserRolesModifiedForGroup =
new TemplateUserRolesModifiedForGroup(gatewayName, gatewayURL,
group, userToReceiveTheMail, manager, revokeRoles, new ArrayList<>(), new Date() );
group, userToReceiveTheMail, manager, new ArrayList<>(), revokeRoles, new Date() );
_log.info("Sending email to user: " + userToReceiveTheMail.getUsername() + ". His roles have been modified within the context of VRE: " + group.getGroupName());
EmailTemplateService.send(properEmailSubject, (org.gcube.common.portal.mailing.templates.Template)templateUserRolesModifiedForGroup, httpServletRequest, new Recipient(userToReceiveTheMail.getEmail()));