From 6878fa2ee3064a080646d150d1c0dd6f8285cb4c Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 5 Feb 2015 21:20:09 -0500 Subject: [PATCH] Remove unused API --- api/v3/Location.php | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 api/v3/Location.php 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)); -} -- 2.25.1