add comment
authordemeritcowboy <demeritcowboy@hotmail.com>
Wed, 19 Apr 2023 02:57:31 +0000 (22:57 -0400)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Wed, 19 Apr 2023 02:57:31 +0000 (22:57 -0400)
CRM/Utils/Rule.php

index 3d11ef1945cea470ec95986d8024dd476bf9d736..28c563817abe6b73c024154700449b603cc1faa5 100644 (file)
@@ -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;