From: Jitendra Purohit Date: Sat, 16 Sep 2023 06:00:18 +0000 (+0530) Subject: Add Joomla user to group X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f2dee97043520931f3555503e96b125795bac612;p=civicrm-core.git Add Joomla user to group --- 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; }