X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FLocation.php;h=dc8f496bb5bfd6412c13803a79f85037c90593c1;hb=85bb0909cffd925f4cd5c0022a68a1ff74d3ad8e;hp=345f9c0e3c130baebc824ec9890179e9fe6c3224;hpb=6a4880350680e1e4d20e5c8a622a791f926ca750;p=civicrm-core.git diff --git a/api/v3/Location.php b/api/v3/Location.php index 345f9c0e3c..dc8f496bb5 100644 --- a/api/v3/Location.php +++ b/api/v3/Location.php @@ -1,20 +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)); }