From 5d3726db9717307fe80593c0e9ea07dc6ef6f2f6 Mon Sep 17 00:00:00 2001 From: eileen Date: Sat, 5 Sep 2020 15:58:34 +1200 Subject: [PATCH] dev/core#1921 Further removal of iso date handling Same deal as https://github.com/civicrm/civicrm-core/pull/18359 --- CRM/Core/Payment/PayPalIPN.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CRM/Core/Payment/PayPalIPN.php b/CRM/Core/Payment/PayPalIPN.php index b6948ddbd4..289bdcd745 100644 --- a/CRM/Core/Payment/PayPalIPN.php +++ b/CRM/Core/Payment/PayPalIPN.php @@ -98,14 +98,6 @@ class CRM_Core_Payment_PayPalIPN extends CRM_Core_Payment_BaseIPN { $now = date('YmdHis'); - // fix dates that already exist - $dates = ['create', 'start', 'end', 'cancel', 'modified']; - foreach ($dates as $date) { - $name = "{$date}_date"; - if ($recur->$name) { - $recur->$name = CRM_Utils_Date::isoToMysql($recur->$name); - } - } $sendNotification = FALSE; $subscriptionPaymentStatus = NULL; // set transaction type -- 2.25.1