CCrmActivity::DoResetEntityCommunicationSettings

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmActivity
  4. DoResetEntityCommunicationSettings
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/mysql/crm_activity.php
  • Класс: \CCrmActivity
  • Вызов: CCrmActivity::DoResetEntityCommunicationSettings
static function DoResetEntityCommunicationSettings($entityTypeID, $entityID)
{
	global $DB;

	$entityTypeID = (int)$entityTypeID;
	$entityID = (int)$entityID;

	$tableName = self::COMMUNICATION_TABLE_NAME;
	$DB->Query(
		"UPDATE {$tableName} SET ENTITY_SETTINGS = NULL WHERE ENTITY_TYPE_ID = {$entityTypeID} AND ENTITY_ID = {$entityID}",
		false,
		'File: '.__FILE__.'
Line: '.__LINE__ ); }

Добавить комментарий