• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/integration/bitrix24/limitation/verification.php
  • Класс: Bitrix\Sender\Integration\Bitrix24\Limitation\Verification
  • Вызов: Verification::isPhoneConfirmed
static function isPhoneConfirmed(): bool
{
	// no need to verify boxes
	if (! \Bitrix\Main\Loader::includeModule('bitrix24'))
	{
		return true;
	}

	if (\CBitrix24::isPhoneConfirmed())
	{
		return true;
	}

	// phone required only for new portals
	if (self::isMailingsUsed() && self::isForceCheckDisabled())
	{
		// remember verified state
		\CBitrix24::setPhoneConfirmed(true);
		return true;
	}

	return false;
}