Skip to content

Commit 4596a80

Browse files
author
sander.bilo
committed
1 parent a6f9c95 commit 4596a80

File tree

1 file changed

+1
-1
lines changed
  • plugins/hooks/conext-login-hook/docroot/WEB-INF/src/nl/proteon/liferay/surfnet/security/opensocial/servlet/events/pre

1 file changed

+1
-1
lines changed

plugins/hooks/conext-login-hook/docroot/WEB-INF/src/nl/proteon/liferay/surfnet/security/opensocial/servlet/events/pre/ServicePreAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public void run(HttpServletRequest request, HttpServletResponse response)
100100
}
101101

102102
try {
103-
//UserServiceUtil.addGroupUsers(group.getGroupId(), new long[] { user.getUserId() }, null);
103+
UserLocalServiceUtil.addGroupUsers(group.getGroupId(), new long[] { user.getUserId() });
104104
Role role = RoleLocalServiceUtil.getRole(companyId, "Site Member");
105105
UserGroupRoleLocalServiceUtil.addUserGroupRoles(
106106
user.getUserId(),

0 commit comments

Comments
 (0)