Merge pull request #23982 from eileenmcnaughton/act_cont
[civicrm-core.git] / CRM / Event / Form / SelfSvcTransfer.php
index e4d52dddd008ddea2e315d9cc2504d61bc735e7e..a6db5abdd92a08d20af067b0b352ca46f02745d4 100644 (file)
@@ -342,7 +342,7 @@ class CRM_Event_Form_SelfSvcTransfer extends CRM_Core_Form {
   /**
    * Based on input, create participant row for transferee and send email
    *
-   * @param $participant
+   * @param CRM_Event_BAO_Participant $participant
    *
    * @throws \API_Exception
    * @throws \CRM_Core_Exception
@@ -373,8 +373,6 @@ class CRM_Event_Form_SelfSvcTransfer extends CRM_Core_Form {
     $eventParams = ['id' => $participant->event_id];
     CRM_Event_BAO_Event::retrieve($eventParams, $eventDetails);
 
-    CRM_Event_BAO_Event::setOutputTimeZone($eventDetails);
-
     //get default participant role.
     $eventDetails['participant_role'] = $participantRoles[$eventDetails['default_role_id']] ?? NULL;
     //get the location info