• Модуль: socialservices
  • Путь к файлу: ~/bitrix/modules/socialservices/lib/contactconnect.php
  • Класс: BitrixSocialservicesContactConnectTable
  • Вызов: ContactConnectTable::deleteByContact
static function deleteByContact($contactId)
{
	$connection = BitrixMainApplication::getConnection();
	return $connection->query("
DELETE
FROM ".self::getTableName()."
WHERE CONTACT_ID='".intval($contactId)."'
");
}