Merge pull request #3679 from yashodha/CRM-14951
[civicrm-core.git] / api / v3 / Location.php
index d9a22ad8ba12f04ae9eff1819cc6d21fc8c008d4..dc8f496bb5bfd6412c13803a79f85037c90593c1 100644 (file)
@@ -1,7 +1,5 @@
 <?php
 
-require_once 'api/v3/utils.php';
-
 /**
  *  Functions to inform caller that Location is obsolete and Address, Phone, Email, Website should be used
  */
@@ -9,10 +7,20 @@ function civicrm_api3_location_create($params) {
   return civicrm_api3_create_error("API (Location, Create) does not exist, use the Address/Phone/Email/Website API instead", array('obsoleted' => TRUE));
 }
 
+/**
+ * @param $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));
 }
 
+/**
+ * @param $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));
 }