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