• Модуль: socialnetwork
  • Путь к файлу: ~/bitrix/modules/socialnetwork/lib/component/loglist/page.php
  • Класс: BitrixSocialnetworkComponentLogListPage
  • Вызов: Page::deleteLogPageData
public function deleteLogPageData($result): void
{
	$params = $this->getComponent()->arParams;

	if (
		empty($result['arLogTmpID'])
		&& $params['SET_LOG_PAGE_CACHE'] === 'Y'
		&& $this->getDateLastPageStart() !== null
		&& Util::checkUserAuthorized()
	)
	{
		CSocNetLogPages::deleteEx($result['currentUserId'], SITE_ID, $params['PAGE_SIZE'], $result['COUNTER_TYPE']);
		$this->setNeedSetLogPage(true);
	}
}