39 empty($oldUser2GroupArFields[
'GROUP_ID'])
40 || empty($oldUser2GroupArFields[
'ROLE'])
41 ||!Loader::includeModule(
"socialnetwork")
46 $groupId = $oldUser2GroupArFields[
'GROUP_ID'];
47 $group = WorkgroupTable::getById($groupId)->fetch();
49 if (empty($group[
'ID']) || !isset($group[
'PROJECT']))
54 if(!self::isInvitee($oldUser2GroupArFields[
'ROLE']) && !self::isScrum($group[
'PROJECT']))