From: Eileen McNaughton Date: Tue, 13 Jan 2015 00:31:47 +0000 (+1300) Subject: remove piece of code that does nothing X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=631cfa2601e858420db9b35af7c540a33ae6f7d0;p=civicrm-core.git remove piece of code that does nothing --- diff --git a/api/v3/Contribution.php b/api/v3/Contribution.php index 42712ee6df..b430cae7e5 100644 --- a/api/v3/Contribution.php +++ b/api/v3/Contribution.php @@ -216,9 +216,6 @@ function civicrm_api3_contribution_get($params) { $contribution_details = $query->store($dao); $softContribution = CRM_Contribute_BAO_ContributionSoft::getSoftContribution($dao->contribution_id, TRUE); $contribution[$dao->contribution_id] = array_merge($contribution_details, $softContribution); - if (isset($contribution[$dao->contribution_id]['financial_type_id'])) { - $contribution[$dao->contribution_id]['financial_type_id'] = $contribution[$dao->contribution_id]['financial_type_id']; - } // format soft credit for backward compatibility _civicrm_api3_format_soft_credit($contribution[$dao->contribution_id]); }