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