Skip to content
Snippets Groups Projects
Unverified Commit e4485671 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #21358 from eileenmcnaughton/deprecated

Remove deprecated function
parents f210a1b5 929f2998
No related branches found
No related tags found
No related merge requests found
......@@ -633,32 +633,6 @@ INNER JOIN civicrm_contribution con ON ( con.id = mp.contribution_id )
}
}
/**
* Send start or end notification for recurring payments.
*
* @param array $ids
* @param CRM_Contribute_BAO_ContributionRecur $recur
* @param bool $isFirstOrLastRecurringPayment
*/
public static function sendRecurringStartOrEndNotification($ids, $recur, $isFirstOrLastRecurringPayment) {
CRM_Core_Error::deprecatedFunctionWarning('use CRM_Contribute_BAO_ContributionPage::recurringNotify');
if ($isFirstOrLastRecurringPayment) {
$autoRenewMembership = FALSE;
if ($recur->id &&
isset($ids['membership']) && $ids['membership']
) {
$autoRenewMembership = TRUE;
}
//send recurring Notification email for user
CRM_Contribute_BAO_ContributionPage::recurringNotify(
$ids['contribution'],
$isFirstOrLastRecurringPayment,
$recur
);
}
}
/**
* Copy custom data of the initial contribution into its recurring contributions.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment