• Модуль: landing
  • Путь к файлу: ~/bitrix/modules/landing/lib/update/block/duplicateimages.php
  • Класс: BitrixLandingUpdateBlockDuplicateImages
  • Вызов: DuplicateImages::updateLanding
static function updateLanding(int $lid): void
{
	$res = BlockTable::getList(
		[
			'select' => [
				'ID', 'CONTENT',
			],
			'filter' => [
				'LID' => $lid,
			],
			'order' => 'SORT',
		]
	);
	while ($row = $res->fetch())
	{
		$block = new self($row['ID']);
		$block->update(true);
	}
}