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 do-nothing deprecated line #23556

Merged
merged 1 commit into from
May 24, 2022

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Remove do-nothing deprecated line

Before

This line was originally deprecated under the believe it was no longer needed. Later a comment was added to point out it it is still hit - 2 things can be true at once.

The line IS hit and is a blocker to adding test cover. However, it is also unnecessary - the line is in formatCommonData and is hit when iterating through a relationship key within the main contact params array & causes it to call itself to process that key - however, the line is ALSO called later with just the relationship data - achieving the same thing that the nested call does, but without the deprecated warning & extra loop

After

poof

Technical Details

I have tests locally covering this but as this is the blocker to those tests, not the focus of them - I need to merge this first

Comments

@civibot
Copy link

civibot bot commented May 24, 2022

(Standard links)

@civibot civibot bot added the master label May 24, 2022
@colemanw colemanw merged commit 2648645 into civicrm:master May 24, 2022
@colemanw colemanw deleted the import_depot branch May 24, 2022 14:23
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