projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #19683 from colemanw/searchDisplayFixes
[civicrm-core.git]
/
api
/
v3
/
Entity.php
diff --git
a/api/v3/Entity.php
b/api/v3/Entity.php
index 4bab9fe8935bc4c8ba5df96be52ee59c159aeea2..fba4b7eb1a59ac73bcf68c65f4f861b8d1eba9a6 100644
(file)
--- a/
api/v3/Entity.php
+++ b/
api/v3/Entity.php
@@
-14,6
+14,8
@@
function _civicrm_api3_entity_deprecation($entities) {
$deprecated = [];
if (!empty($entities['values'])) {
foreach ($entities['values'] as $entity) {
$deprecated = [];
if (!empty($entities['values'])) {
foreach ($entities['values'] as $entity) {
+ $apiFile = "api/v3/$entity.php";
+ @include_once $apiFile;
if (is_string(_civicrm_api3_deprecation_check($entity))) {
$deprecated[] = $entity;
}
if (is_string(_civicrm_api3_deprecation_check($entity))) {
$deprecated[] = $entity;
}