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

Remove loadAll parameter from loadRelatedObjects #24140

Merged
merged 1 commit into from
Aug 4, 2022

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Aug 4, 2022

Overview

Remove loadAll parameter from legacy function loadRelatedObjects

Before

loadAll parameter causes a couple of extra lines of code to run

After

The lines are moved to the caling functions

Technical Details

  • I removed the setting of contact where we can see it is already set & the test check for financialType which is never otherwise used

Comments

test cover is good. The goal is to remove this function entirely...

@civibot
Copy link

civibot bot commented Aug 4, 2022

(Standard links)

@civibot civibot bot added the master label Aug 4, 2022
@mattwire mattwire merged commit e646272 into civicrm:master Aug 4, 2022
@eileenmcnaughton eileenmcnaughton deleted the invoice_test branch August 4, 2022 09:52
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