public static function onAfterCommentUpdateAfter($entityType, $eventID, $arData, $logID = false) { if ($entityType != "TK") { return; } if (intval($logID) <= 0) { return; } if (!is_array($arData) || !array_key_exists("ACTION", $arData) || $arData["ACTION"] != "EDIT") { return; } CCalendarLiveFeed::SetCommentFileRights($arData, $logID); }