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

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

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