From: Coleman Watts Date: Fri, 6 Feb 2015 02:20:09 +0000 (-0500) Subject: Remove unused API X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6878fa2ee3064a080646d150d1c0dd6f8285cb4c;p=civicrm-core.git Remove unused API --- diff --git a/api/v3/Location.php b/api/v3/Location.php deleted file mode 100644 index 31510dc7d9..0000000000 --- a/api/v3/Location.php +++ /dev/null @@ -1,34 +0,0 @@ - TRUE)); -} - -/** - * Function to inform caller that Location is obsolete and Address, Phone, Email, Website should be used. - * - * @param array $params - * - * @return array - */ -function civicrm_api3_location_get($params) { - return civicrm_api3_create_error("API (Location, Get) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE)); -} - -/** - * Function to inform caller that Location is obsolete and Address, Phone, Email, Website should be used. - * - * @param array $params - * - * @return array - */ -function civicrm_api3_location_delete($params) { - return civicrm_api3_create_error("API (Location, Delete) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE)); -}