X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FLocation.php;h=dc8f496bb5bfd6412c13803a79f85037c90593c1;hb=da7a33feb6f28d09a8b2de93cb702b43ed484851;hp=739eaa3b89abb365bb4d00b852d90b305b5089a4;hpb=1c0f1b28a78453078dc0b6ddc6bee27323aa5ecc;p=civicrm-core.git diff --git a/api/v3/Location.php b/api/v3/Location.php index 739eaa3b89..dc8f496bb5 100644 --- a/api/v3/Location.php +++ b/api/v3/Location.php @@ -1,19 +1,27 @@ TRUE)); + return civicrm_api3_create_error("API (Location, Create) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE)); } +/** + * @param $params + * + * @return array + */ function civicrm_api3_location_get($params) { - return civicrm_api3_create_error("API (Location,Get) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE)); + return civicrm_api3_create_error("API (Location, Get) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE)); } +/** + * @param $params + * + * @return array + */ function civicrm_api3_location_delete($params) { - return civicrm_api3_create_error("API (Location,Delete) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE)); + return civicrm_api3_create_error("API (Location, Delete) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE)); }