revert 20476
[civicrm-core.git] / CRM / Financial / BAO / Payment.php
index 12439c2dfbc6564ee3dd06f6c4f4fe9f03a0572d..cec2c4425d05befe1135a55509daddb95870dedf 100644 (file)
@@ -279,10 +279,6 @@ class CRM_Financial_BAO_Payment {
 
     $entities = self::loadRelatedEntities($params['id']);
 
-    if (!empty($entities['event'])) {
-      CRM_Event_BAO_Event::setOutputTimeZone($entities['event']);
-    }
-
     $sendTemplateParams = [
       'groupName' => 'msg_tpl_workflow_contribution',
       'valueName' => 'payment_or_refund_notification',