• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/util.php
  • Класс: BitrixCalendarUtil
  • Вызов: Util::initPlannerPullWatches
static function initPlannerPullWatches(int $currentUserId, array $userIdList = []): void
{
	if (Loader::includeModule("pull"))
	{
		foreach($userIdList as $userId)
		{
			if ((int)$userId !== $currentUserId)
			{
				CPullWatch::Add($currentUserId, 'calendar-planner-'.$userId);
			}
		}
	}
}