remove piece of code that does nothing
authorEileen McNaughton <eileen@fuzion.co.nz>
Tue, 13 Jan 2015 00:31:47 +0000 (13:31 +1300)
committerEileen McNaughton <eileen@fuzion.co.nz>
Tue, 13 Jan 2015 00:31:47 +0000 (13:31 +1300)
api/v3/Contribution.php

index 42712ee6dfd7f180227a57fb7642a36e14ea4c18..b430cae7e5ab801f5b5a8864a795a7dbd4b57f5d 100644 (file)
@@ -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]);
   }