X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fapi.php;h=7cbc5d180dcb56f88b29b805d538a6e4bcaaf1fc;hb=530f7d9dfc8239c7179751ef666a80e9f9cf8e8e;hp=4f6c4585c9ba7049f1637ac3f6b2b311893b261c;hpb=bc19d240bc427fbbc04d7f556e1b18257b6dbd88;p=civicrm-core.git diff --git a/api/api.php b/api/api.php index 4f6c4585c9..7cbc5d180d 100644 --- a/api/api.php +++ b/api/api.php @@ -15,12 +15,11 @@ * create, get, delete or some special action name. * @param array $params * array to be passed to function - * @param null $extra * * @return array|int */ -function civicrm_api(string $entity, string $action, array $params, $extra = NULL) { - return \Civi::service('civi_api_kernel')->runSafe($entity, $action, $params, $extra); +function civicrm_api(string $entity, string $action, array $params) { + return \Civi::service('civi_api_kernel')->runSafe($entity, $action, $params); } /**