112 $res = BindingTable::getList([
117 '=ENTITY_TYPE' => BindingTable::ENTITY_TYPE_SITE,
118 '=BINDING_TYPE' =>
'G',
119 'ENTITY_ID' => $siteId
122 if ($row = $res->fetch())
124 $groupId = (int) $row[
'BINDING_ID'];
125 if ($checkAccess && Loader::includeModule(
'socialnetwork'))
127 $canRead = \CSocNetFeaturesPerms::CanPerformOperation(