• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/subscribe.php
  • Класс: BitrixCatalogSubscribeTable
  • Вызов: SubscribeTable::onIblockElementDelete
static function onIblockElementDelete($productId)
{
	$productId = (int)$productId;
	if ($productId <= 0)
		return true;

	$connection = Application::getConnection();
	$helper = $connection->getSqlHelper();
	$connection->queryExecute('delete from '.$helper->quote(static::getTableName()).' where '
		.$helper->quote('ITEM_ID').' = '.$productId
	);

	return true;
}