• Модуль: lists
  • Путь к файлу: ~/bitrix/modules/lists/classes/general/lists.php
  • Класс: CLists
  • Вызов: CLists::deleteLockFeatureOption
static function deleteLockFeatureOption(int $iblockId)
{
	$option = Option::get("lists", "iblock_lock_feature");
	$iblockIdsWithLockFeature = ($option !== "" ? unserialize($option, ['allowed_classes' => false]) : []);
	if (isset($iblockIdsWithLockFeature[$iblockId]))
	{
		unset($iblockIdsWithLockFeature[$iblockId]);
		Option::set("lists", "iblock_lock_feature", serialize($iblockIdsWithLockFeature));
	}
}