| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Functions to inform caller that Location is obsolete and Address, Phone, Email, Website should be used |
| 5 | */ |
| 6 | function civicrm_api3_location_create($params) { |
| 7 | return civicrm_api3_create_error("API (Location, Create) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE)); |
| 8 | } |
| 9 | |
| 10 | /** |
| 11 | * @param $params |
| 12 | * |
| 13 | * @return array |
| 14 | */ |
| 15 | function civicrm_api3_location_get($params) { |
| 16 | return civicrm_api3_create_error("API (Location, Get) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE)); |
| 17 | } |
| 18 | |
| 19 | /** |
| 20 | * @param $params |
| 21 | * |
| 22 | * @return array |
| 23 | */ |
| 24 | function civicrm_api3_location_delete($params) { |
| 25 | return civicrm_api3_create_error("API (Location, Delete) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE)); |
| 26 | } |
| 27 | |