• Модуль: socialnetwork
  • Путь к файлу: ~/bitrix/modules/socialnetwork/classes/general/log_comments.php
  • Класс: CAllSocNetLogComments
  • Вызов: CAllSocNetLogComments::DeleteNoDemand
static function DeleteNoDemand($userID)
{
	global $DB;

	$userID = intval($userID);
	if ($userID <= 0)
		return false;

	$DB->Query("DELETE FROM b_sonet_log_comment WHERE ENTITY_TYPE = 'U' AND ENTITY_ID = ".$userID."", true);

	return true;
}