From f2dee97043520931f3555503e96b125795bac612 Mon Sep 17 00:00:00 2001 From: Jitendra Purohit Date: Sat, 16 Sep 2023 11:30:18 +0530 Subject: [PATCH] Add Joomla user to group --- CRM/Utils/System/Joomla.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CRM/Utils/System/Joomla.php b/CRM/Utils/System/Joomla.php index 1f215d2a4b..c3b79eb061 100644 --- a/CRM/Utils/System/Joomla.php +++ b/CRM/Utils/System/Joomla.php @@ -80,6 +80,8 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { $register = $model->register($values); $ufID = JUserHelper::getUserId($values['username']); + JUserHelper::addUserToGroup($ufID, $userType); + return $ufID; } -- 2.25.1