X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FLocation.php;h=dc8f496bb5bfd6412c13803a79f85037c90593c1;hb=85bb0909cffd925f4cd5c0022a68a1ff74d3ad8e;hp=739eaa3b89abb365bb4d00b852d90b305b5089a4;hpb=f0985b2635377b0e02d204d5adf872fce4997758;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)); }