private static function MarkMessageAsSent($id) { CSocServMessage::Update($id, array("SUCCES_SENT" => 'Y')); }