From: demeritcowboy Date: Wed, 19 Apr 2023 02:57:31 +0000 (-0400) Subject: add comment X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=09a5596ba8d12b22ff3b6a6ce54203a83a802357;p=civicrm-core.git add comment --- 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;