Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REF] remove call to deprecated function #15465

Merged
merged 1 commit into from
Oct 9, 2019

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Removes a call to a confusing deprecated function & deprecates it more aggressively

Before

Squirrels feasting

After

Squirrels on dry rations

Technical Details

getPartialPaymentType basically just calls CRM_Contribute_BAO_Contribution::getContributionBalance
& then returns the balance in a different array key depending on the value.

This switches to calling it directly & completes the work of removing all calls to it & more heavily deprecating it

Comments

@civibot
Copy link

civibot bot commented Oct 9, 2019

(Standard links)

@civibot civibot bot added the master label Oct 9, 2019
getPartialPaymentType basically just calls CRM_Contribute_BAO_Contribution::getContributionBalance
& then returns the  balance in a different array key depending on the value.

This switches to calling it directly & completes the work of removing all calls to it & more heavily deprecating it
@seamuslee001
Copy link
Contributor

Refactor looks right to me merging

@seamuslee001 seamuslee001 merged commit 3a2aba3 into civicrm:master Oct 9, 2019
@seamuslee001 seamuslee001 deleted the dep_fn branch October 9, 2019 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants