Merge pull request #583 from yashodha/CRM-12463
[civicrm-core.git] / api / v3 / Location.php
CommitLineData
6a488035
TO
1<?php
2// $Id$
3
4require_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 */
9function 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
13function 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
17function 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