CRM-16112 - Remove unnecessary fields from contact spec
authorColeman Watts <coleman@civicrm.org>
Fri, 20 Mar 2015 19:53:12 +0000 (15:53 -0400)
committerColeman Watts <coleman@civicrm.org>
Fri, 20 Mar 2015 19:53:12 +0000 (15:53 -0400)
api/v3/Contact.php

index 7959532616e7ad9291ca4c80481f5573bb1fcd13..96e88dfa995119227dbc1c599ae371f26888208e 100644 (file)
@@ -265,12 +265,6 @@ function _civicrm_api3_contact_get_spec(&$params) {
     'title' => 'Primary Email',
     'type' => CRM_Utils_Type::T_STRING,
   );
-  $params['gender_id']['title'] = 'Gender ID';
-  $params['gender_id']['type'] = CRM_Utils_Type::T_INT;
-  $params['gender'] = array(
-    'title' => 'Gender',
-    'type' => CRM_Utils_Type::T_STRING,
-  );
   $params['on_hold'] = array(
     'title' => 'Primary Email On Hold',
     'type' => CRM_Utils_Type::T_BOOLEAN,