• Модуль: socialnetwork
  • Путь к файлу: ~/bitrix/modules/socialnetwork/lib/update/feedgarbagecollector.php
  • Класс: BitrixSocialnetworkUpdateFeedGarbageCollector
  • Вызов: FeedGarbageCollector::run
private function run(): string
{
	$types = $this->getTypes();
	if (empty($types))
	{
		return '';
	}

	$logIds = $this->getLogIds($types);
	if (empty($logIds))
	{
		return '';
	}

	foreach ($logIds as $logId)
	{
		CSocNetLog::Delete($logId);
	}

	return self::getAgentName();
}