From e3872d50979e140bd1fe2538ff47d3c5d5fb7bcf Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 24 Sep 2020 11:45:23 +1200 Subject: [PATCH] dev/core#1921 Remove handling fo Civi4.2 from paypalProIPN All the tests in CRM_Core_Payment_PayPalProIPNTest pass through this line It used to be necessary to reformat dates on a DAO before resaving - up until 2014 --- CRM/Core/Payment/PayPalProIPN.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/CRM/Core/Payment/PayPalProIPN.php b/CRM/Core/Payment/PayPalProIPN.php index ad49171254..2866c9bdd6 100644 --- a/CRM/Core/Payment/PayPalProIPN.php +++ b/CRM/Core/Payment/PayPalProIPN.php @@ -174,15 +174,6 @@ class CRM_Core_Payment_PayPalProIPN 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; //List of Transaction Type -- 2.25.1