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

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

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