• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/security/agreement.php
  • Класс: BitrixSenderSecurityAgreement
  • Вызов: Agreement::requestFromCurrentUser
static function requestFromCurrentUser()
{
	if (User::current()->isAgreementAccepted())
	{
		return;
	}

	CJSCore::init(array('sender_agreement'));
}