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] move gathering of location info to relevant function (towards dev/core#723) #14142

Merged
merged 1 commit into from
Apr 27, 2019

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Minor refactor for code legibility

Before

Less legible

After

Move legible

Technical Details

We have a loop that parses the migrationInfo to get just location fields which we loop through, but
migrationInfo is already available in the moveLocationInfo fn so we can just handle that param in there
& improve code readability (we do a little less array looping but it's pretty cheap & the code
readabiliity is a real issue here

Comments

We have a loop that parses the migrationInfo to get just location fields which we loop through, but
migrationInfo is already available in the moveLocationInfo fn so we can just handle that param in there
& improve code readability (we do a little less array looping but it's pretty cheap & the code
readabiliity is a real issue here
@civibot
Copy link

civibot bot commented Apr 27, 2019

(Standard links)

@seamuslee001
Copy link
Contributor

Refactor looks sensible, added merge on pass

@eileenmcnaughton eileenmcnaughton merged commit 2c40989 into civicrm:master Apr 27, 2019
@eileenmcnaughton eileenmcnaughton deleted the dedupe2 branch April 27, 2019 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants