X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FEntity.php;h=fba4b7eb1a59ac73bcf68c65f4f861b8d1eba9a6;hb=512859d12d6e61d19928981ce90f00198fadaefc;hp=4bab9fe8935bc4c8ba5df96be52ee59c159aeea2;hpb=a968364d52f7c551b663c9811d44d6c1dab547ae;p=civicrm-core.git diff --git a/api/v3/Entity.php b/api/v3/Entity.php index 4bab9fe893..fba4b7eb1a 100644 --- 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) { + $apiFile = "api/v3/$entity.php"; + @include_once $apiFile; if (is_string(_civicrm_api3_deprecation_check($entity))) { $deprecated[] = $entity; }