Commit | Line | Data |
---|---|---|
6a488035 | 1 | <?php |
6a488035 | 2 | |
6a488035 TO |
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) { | |
106a7a3a | 7 | return civicrm_api3_create_error("API (Location, Create) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE)); |
6a488035 TO |
8 | } |
9 | ||
aa1b1481 | 10 | /** |
c490a46a | 11 | * @param array $params |
aa1b1481 EM |
12 | * |
13 | * @return array | |
14 | */ | |
6a488035 | 15 | function civicrm_api3_location_get($params) { |
106a7a3a | 16 | return civicrm_api3_create_error("API (Location, Get) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE)); |
6a488035 TO |
17 | } |
18 | ||
aa1b1481 | 19 | /** |
c490a46a | 20 | * @param array $params |
aa1b1481 EM |
21 | * |
22 | * @return array | |
23 | */ | |
6a488035 | 24 | function civicrm_api3_location_delete($params) { |
106a7a3a | 25 | return civicrm_api3_create_error("API (Location, Delete) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE)); |
6a488035 TO |
26 | } |
27 |