Skip to content

Commit

Permalink
Merge pull request #26077 from demeritcowboy/valid-contact
Browse files Browse the repository at this point in the history
[NFC] Add comment about secondary todo when deprecated function is removed
  • Loading branch information
demeritcowboy authored Apr 19, 2023
2 parents 9ca1080 + 09a5596 commit b41a09d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Utils/Rule.php
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,7 @@ public static function settingPath($path) {
* @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;
Expand Down

0 comments on commit b41a09d

Please sign in to comment.