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:
e7c0be9
)
add in-code documentation
author
eileen
<eileen@fuzion.co.nz>
Wed, 10 Apr 2013 02:37:19 +0000
(14:37 +1200)
committer
eileen
<eileen@fuzion.co.nz>
Wed, 10 Apr 2013 02:37:19 +0000
(14:37 +1200)
api/v3/Contact.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Contact.php
b/api/v3/Contact.php
index 0b84bf2d27e4551c71f5aaba98fba00b769f2895..7ccbbfb4730818e17b7053c49afea60bf3132fba 100644
(file)
--- a/
api/v3/Contact.php
+++ b/
api/v3/Contact.php
@@
-142,6
+142,10
@@
function _civicrm_api3_contact_create_spec(&$params) {
'title' => 'Current Employer',
'description' => 'Name of Current Employer',
);
+ $params['dupe_check'] = array(
+ 'title' => 'Check for Duplicates',
+ 'description' => 'Throw error if contact create matches dedupe rule',
+ );
}
/**