api contribution.completetransaction fix misname of _spec function
authorEileen McNaughton <eileen@fuzion.co.nz>
Mon, 20 Oct 2014 02:37:59 +0000 (15:37 +1300)
committerEileen McNaughton <eileen@fuzion.co.nz>
Mon, 20 Oct 2014 02:43:33 +0000 (15:43 +1300)
Conflicts:
api/v3/Contribution.php

api/v3/Contribution.php

index 464f20c6dfd03a25e042c3c93430ef3df2f03b63..80216edb4ca03ebabcc91dcb1f997b9de79e974b 100644 (file)
@@ -433,9 +433,10 @@ function civicrm_api3_contribution_completetransaction(&$params) {
 }
 
 /**
+ * provide function metadata
  * @param $params
  */
-function _civicrm_api3_contribution_completetransaction(&$params) {
+function _civicrm_api3_contribution_completetransaction_spec(&$params) {
   $params['id'] = array(
     'title' => 'Contribution ID',
     'type' => CRM_Utils_Type::T_INT,