• Модуль: socialservices
  • Путь к файлу: ~/bitrix/modules/socialservices/classes/general/authmanager.php
  • Класс: CSocServAllMessage
  • Вызов: CSocServAllMessage::Update
static function Update($id, $arFields)
{
	global $DB;
	$id = intval($id);
	if($id<=0 || !self::CheckFields('UPDATE', $arFields))
		return false;
	$strUpdate = $DB->PrepareUpdate("b_socialservices_message", $arFields);
	$strSql = "UPDATE b_socialservices_message SET ".$strUpdate." WHERE ID = ".$id." ";
	$DB->Query($strSql, false, "File: ".__FILE__."
Line: ".__LINE__); $cache_id = 'socserv_mes_user'; $obCache = new CPHPCache; $cache_dir = '/bx/socserv_mes_user'; $obCache->Clean($cache_id, $cache_dir); return $id; }