projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d611b77
)
CRM-16112 - Remove unnecessary fields from contact spec
author
Coleman Watts
<coleman@civicrm.org>
Fri, 20 Mar 2015 19:53:12 +0000
(15:53 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Fri, 20 Mar 2015 19:53:12 +0000
(15:53 -0400)
api/v3/Contact.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Contact.php
b/api/v3/Contact.php
index 7959532616e7ad9291ca4c80481f5573bb1fcd13..96e88dfa995119227dbc1c599ae371f26888208e 100644
(file)
--- a/
api/v3/Contact.php
+++ b/
api/v3/Contact.php
@@
-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,