• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/entity/toloka.php
  • Класс: BitrixSenderEntityToloka
  • Вызов: Toloka::saveData
protected function saveData($id, array $data)
{
	if (!IntegrationSeoAdsService::isAvailable() && IntegrationBitrix24Service::isTolokaAvailable())
	{
		$this->addError(Loc::getMessage('SENDER_ENTITY_TOLOKA_ERROR_NO_ACCESS'), 'feature:sender_toloka');
		return $id;
	}

	return parent::saveData($id, $data);
}