From 9d89fdf8113caeaaf29478d304a7b960fd8a4283 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Tue, 19 Dec 2023 11:19:54 +0000 Subject: [PATCH] Revert "Fix regression on frequency unit handling in 5.69" This reverts commit e62b3a8f51e8396f5658313954cc1884567bce6b. --- CRM/Core/Payment/Dummy.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CRM/Core/Payment/Dummy.php b/CRM/Core/Payment/Dummy.php index 57a963cbc8..3bd2318dc7 100644 --- a/CRM/Core/Payment/Dummy.php +++ b/CRM/Core/Payment/Dummy.php @@ -223,9 +223,7 @@ class CRM_Core_Payment_Dummy extends CRM_Core_Payment { // does this, it needs to invoke this hook after it has done translation, // but before it actually starts talking to its proprietary back-end. if ($propertyBag->getIsRecur()) { - if (empty($params['frequency_interval']) || empty($params['frequency_unit'])) { - CRM_Core_Error::deprecatedWarning('contracted frequency params not passed'); - } + $throwAnENoticeIfNotSetAsTheseAreRequired = $propertyBag->getRecurFrequencyInterval() . $propertyBag->getRecurFrequencyUnit(); } // no translation in Dummy processor CRM_Utils_Hook::alterPaymentProcessorParams($this, $params, $propertyBag); -- 2.25.1