• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/lib/mobilecounter.php
  • Класс: BitrixPullMobileCounter
  • Вызов: MobileCounter::onSonetLogCounterClear
static function onSonetLogCounterClear($counterType = '', $timestamp = 0)
{
	$userId = is_object($GLOBALS['USER'])? intval($GLOBALS['USER']->getId()): 0;

	if (
		$userId <= 0
		|| $counterType != '**'
	)
	{
		return false;
	}

	self::send($userId);

	return true;
}