CounterSettings::setUseActivityResponsible

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CounterSettings
  4. setUseActivityResponsible
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/settings/countersettings.php
  • Класс: Bitrix\Crm\Settings\CounterSettings
  • Вызов: CounterSettings::setUseActivityResponsible
public function setUseActivityResponsible(bool $val): void
{
	$currentValue = $this->useActivityResponsible();

	if ($currentValue !== $val)
	{
		EntityCounter::resetAllCrmCountersForAllUsers();
		$this->useActivityResponsible->set($val);
	}
}

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