some more comment fixes
[civicrm-core.git] / api / v3 / Location.php
CommitLineData
6a488035 1<?php
6a488035 2
6a488035 3/**
61fe4988
EM
4 * Function to inform caller that Location is obsolete and Address, Phone, Email, Website should be used.
5 *
d0997921 6 * @param array $params
10525e44 7 * @return array
6a488035
TO
8 */
9function civicrm_api3_location_create($params) {
106a7a3a 10 return civicrm_api3_create_error("API (Location, Create) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
6a488035
TO
11}
12
aa1b1481 13/**
c490a46a 14 * @param array $params
aa1b1481
EM
15 *
16 * @return array
17 */
6a488035 18function civicrm_api3_location_get($params) {
106a7a3a 19 return civicrm_api3_create_error("API (Location, Get) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
6a488035
TO
20}
21
aa1b1481 22/**
c490a46a 23 * @param array $params
aa1b1481
EM
24 *
25 * @return array
26 */
6a488035 27function civicrm_api3_location_delete($params) {
106a7a3a 28 return civicrm_api3_create_error("API (Location, Delete) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
6a488035 29}