• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/controller/propertyvalue.php
  • Класс: BitrixSaleControllerPropertyValue
  • Вызов: PropertyValue::deleteAction
public function deleteAction(SalePropertyValue $propertyValue)
{
	$r = $propertyValue->delete();
	if($r->isSuccess())
	{
		$r = $propertyValue
			->getCollection()
			->getOrder()
			->save();
	}

	if(!$r->isSuccess())
		$this->addErrors($r->getErrors());

	return $r->isSuccess();
}