projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a88305
)
Deprecate unused 'validContact' function
author
Coleman Watts
<coleman@civicrm.org>
Tue, 18 Apr 2023 12:01:00 +0000
(08:01 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Tue, 18 Apr 2023 12:01:00 +0000
(08:01 -0400)
CRM/Utils/Rule.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/Rule.php
b/CRM/Utils/Rule.php
index a396045737226ac0d1c77bfd032b416376d7f10b..3d11ef1945cea470ec95986d8024dd476bf9d736 100644
(file)
--- a/
CRM/Utils/Rule.php
+++ b/
CRM/Utils/Rule.php
@@
-878,12
+878,14
@@
class CRM_Utils_Rule {
}
/**
+ * @deprecated
* @param mixed $value
* @param mixed $actualElementValue
*
* @return bool
*/
public static function validContact($value, $actualElementValue = NULL) {
+ CRM_Core_Error::deprecatedFunctionWarning('positiveInteger');
if ($actualElementValue) {
$value = $actualElementValue;
}