Registrar::registerUnbind

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. Registrar
  4. registerUnbind
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Relation/Registrar.php
  • Класс: Bitrix\Crm\Relation\Registrar
  • Вызов: Registrar::registerUnbind
public function registerUnbind(
	ItemIdentifier $parent,
	ItemIdentifier $child,
	Context $context = null
): Result
{
	[$parentObject, $childObject, $result] = $this->getTrackedObjects($parent, $child);
	if (!$result->isSuccess())
	{
		$result->addError(new Error('Could not get ' . TrackedObject::class . ' for unbind registration'));

		return $result;
	}

	return $this->history->registerUnbind($parentObject, $childObject, $context);
}

Добавить комментарий