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:
ef76301
)
We don't need to return custom data on create
author
Matthew Wire
<mjw@mjwconsult.co.uk>
Wed, 9 Aug 2017 08:32:54 +0000
(09:32 +0100)
committer
Matthew Wire
<mjw@mjwconsult.co.uk>
Wed, 9 Aug 2017 08:32:54 +0000
(09:32 +0100)
api/v3/Case.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Case.php
b/api/v3/Case.php
index 5f9d4733bfb5d17d2a3cb0b8a217114222513554..c8a0f46b87f0bbd1a73f8a33ebba42a08045235b 100644
(file)
--- a/
api/v3/Case.php
+++ b/
api/v3/Case.php
@@
-142,11
+142,6
@@
function civicrm_api3_case_create($params) {
$values = array();
_civicrm_api3_object_to_array($caseBAO, $values[$caseBAO->id]);
- // Add custom data
- if (isset($params['custom'])) {
- _civicrm_api3_custom_data_get($values[$caseBAO->id], TRUE, 'case', $caseBAO->id);
- }
-
return civicrm_api3_create_success($values, $params, 'Case', 'create', $caseBAO);
}