From: Coleman Watts Date: Fri, 14 Oct 2016 15:30:16 +0000 (-0400) Subject: Remove phony fk info from case api X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3b8b16b21fea0980f01eaae3e257cdea85aa17f2;p=civicrm-core.git Remove phony fk info from case api --- diff --git a/api/v3/Case.php b/api/v3/Case.php index 729fc6ee79..ba30a4a067 100644 --- a/api/v3/Case.php +++ b/api/v3/Case.php @@ -140,13 +140,11 @@ function _civicrm_api3_case_get_spec(&$params) { 'title' => 'Case Client', 'description' => 'Contact id of one or more clients to retrieve cases for', 'type' => CRM_Utils_Type::T_INT, - 'FKApiName' => 'Contact', ); $params['activity_id'] = array( 'title' => 'Case Activity', 'description' => 'Id of an activity in the case', 'type' => CRM_Utils_Type::T_INT, - 'FKApiName' => 'Activity', ); } @@ -163,7 +161,6 @@ function _civicrm_api3_case_create_spec(&$params) { 'description' => 'Contact id of case client(s)', 'api.required' => 1, 'type' => CRM_Utils_Type::T_INT, - 'FKApiName' => 'Contact', ); $params['status_id']['api.default'] = 1; $params['status_id']['api.aliases'] = array('case_status');