Merge pull request #3342 from systopia/CRM-14741
[civicrm-core.git] / api / v3 / Location.php
... / ...
CommitLineData
1<?php
2
3/**
4 * Functions to inform caller that Location is obsolete and Address, Phone, Email, Website should be used
5 */
6function civicrm_api3_location_create($params) {
7 return civicrm_api3_create_error("API (Location, Create) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
8}
9
10/**
11 * @param $params
12 *
13 * @return array
14 */
15function civicrm_api3_location_get($params) {
16 return civicrm_api3_create_error("API (Location, Get) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
17}
18
19/**
20 * @param $params
21 *
22 * @return array
23 */
24function civicrm_api3_location_delete($params) {
25 return civicrm_api3_create_error("API (Location, Delete) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
26}
27