Skip to content

Instantly share code, notes, and snippets.

@demoriz
Created December 14, 2020 09:11
Show Gist options
  • Save demoriz/a36d4e08c7582b09c7f86e7d566f8c4a to your computer and use it in GitHub Desktop.
Save demoriz/a36d4e08c7582b09c7f86e7d566f8c4a to your computer and use it in GitHub Desktop.
bitrix
<?php
CModule::IncludeModule('iblock');
$iblockId = 5;
Bitrix\Iblock\PropertyIndex\Manager::DeleteIndex($iblockId);
Bitrix\Iblock\PropertyIndex\Manager::markAsInvalid($iblockId);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment