• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/userauthaction.php
  • Класс: BitrixMainUserAuthActionTable
  • Вызов: UserAuthActionTable::addUpdateAction
static function addUpdateAction($userId, TypeDateTime $date = null)
{
	if($date === null)
	{
		$date = new TypeDateTime();
	}

	return static::add(array(
		'USER_ID' => $userId,
		'PRIORITY' => self::PRIORITY_LOW,
		'ACTION' => self::ACTION_UPDATE,
		'ACTION_DATE' => $date,
	));
}