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

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

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