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

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

	if ($CACHE_MANAGER->Read(86400*30, "socnet_cm_".$userID))
		$CACHE_MANAGER->Clean("socnet_cm_".$userID);
		
/*
		
	$filePath = $_SERVER["DOCUMENT_ROOT"].BX_PERSONAL_ROOT."/managed_flags/socnet/c/".IntVal($userID / 1000)."/";
	$fileName = $userID."_m";

	if (!file_exists($filePath.$fileName))
	{
		CheckDirPath($filePath);
		@fclose(@fopen($filePath.$fileName, "w"));
	}
*/
}