Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CiviCRM Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
CiviCRM Core
Commits
e4485671
Unverified
Commit
e4485671
authored
3 years ago
by
Seamus Lee
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #21358 from eileenmcnaughton/deprecated
Remove deprecated function
parents
f210a1b5
929f2998
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CRM/Contribute/BAO/ContributionRecur.php
+0
-26
0 additions, 26 deletions
CRM/Contribute/BAO/ContributionRecur.php
with
0 additions
and
26 deletions
CRM/Contribute/BAO/ContributionRecur.php
+
0
−
26
View file @
e4485671
...
...
@@ -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.
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment