CRM-16075 - Remove country alias from api spec
authorColeman Watts <coleman@civicrm.org>
Thu, 12 Mar 2015 18:47:29 +0000 (14:47 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 12 Mar 2015 18:47:29 +0000 (14:47 -0400)
api/v3/Address.php

index 40da8a40ae0c7ffe0f318b8c8624ddaf290d11c8..a00dd415a90019adad72a968e3d626db784c9fe1 100644 (file)
@@ -91,7 +91,6 @@ function civicrm_api3_address_create(&$params) {
 function _civicrm_api3_address_create_spec(&$params) {
   $params['location_type_id']['api.required'] = 1;
   $params['contact_id']['api.required'] = 1;
-  $params['country'] = array('title' => 'Name or 2-letter abbreviation of country. Looked up in civicrm_country table');
   $params['street_parsing'] = array('title' => 'optional param to indicate you want the street_address field parsed into individual params');
   $params['world_region'] = array(
     'title' => ts('World Region'),