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