Skip to content

Commit

Permalink
Merge pull request #15564 from eileenmcnaughton/deprectate
Browse files Browse the repository at this point in the history
dev/financial#79 minimal deprecation of Contribution.transact.
  • Loading branch information
seamuslee001 authored Oct 23, 2019
2 parents 7e66210 + 779cb42 commit 2f08eb6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions api/v3/Contribution.php
Original file line number Diff line number Diff line change
Expand Up @@ -763,3 +763,13 @@ function _civicrm_api3_contribution_repeattransaction_spec(&$params) {
'type' => CRM_Utils_Type::T_INT,
];
}

/**
* Declare deprecated functions.
*
* @return array
* Array of deprecated actions
*/
function _civicrm_api3_contribution_deprecation() {
return ['transact' => 'Contribute.transact is ureliable & unsupported - see https://docs.civicrm.org/dev/en/latest/financial/OrderAPI/ for how to move on'];
}

0 comments on commit 2f08eb6

Please sign in to comment.