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