From 09a5596ba8d12b22ff3b6a6ce54203a83a802357 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Tue, 18 Apr 2023 22:57:31 -0400 Subject: [PATCH] add comment --- CRM/Utils/Rule.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Utils/Rule.php b/CRM/Utils/Rule.php index 3d11ef1945..28c563817a 100644 --- a/CRM/Utils/Rule.php +++ b/CRM/Utils/Rule.php @@ -885,6 +885,7 @@ class CRM_Utils_Rule { * @return bool */ public static function validContact($value, $actualElementValue = NULL) { + // @todo When this function is removed (deprecated April 2023), it should also be removed from CRM_Core_Form: https://github.com/civicrm/civicrm-core/blob/0148b09115eeb941cde8e9f6f9484d205750f144/CRM/Core/Form.php#L429 CRM_Core_Error::deprecatedFunctionWarning('positiveInteger'); if ($actualElementValue) { $value = $actualElementValue; -- 2.25.1