Merge remote-tracking branch 'upstream/4.3' into 4.3-master-2013-07-31-15-53-16
[civicrm-core.git] / api / v3 / Location.php
1 <?php
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) {
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 function civicrm_api3_location_get($params) {
13 return civicrm_api3_create_error("API (Location,Get) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
14 }
15
16 function civicrm_api3_location_delete($params) {
17 return civicrm_api3_create_error("API (Location,Delete) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
18 }
19