This parameter is built up purely to set the status message, which I argue should be
set 'as she goes' saving us building up complex variables. Removing this
var will help us simplify the earlier loops
* Submit function.
*
* This is also accessed by unit tests.
- *
- * @return array
*/
public function submit() {
$isTest = ($this->_mode == 'test') ? 1 : 0;
$isRecur = CRM_Utils_Array::value('is_recur', $params);
$this->updateContributionOnMembershipTypeChange($params, $membership);
$this->setStatusMessage($membership, $endDate, $receiptSent, $membershipTypes, $createdMemberships, $isRecur, $calcDates, $mailSend);
- return $createdMemberships;
}
/**