• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/classes/general/section_property.php
  • Класс: CIBlockSectionPropertyLink
  • Вызов: CIBlockSectionPropertyLink::CleanIBlockLinks
static function CleanIBlockLinks(int $iblockId)
{
	if ($iblockId <= 0)
		return;

	if (!static::HasIBlockLinks($iblockId))
		static::DeleteByIBlock($iblockId);
}