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

dev/core#2593 [REF] Fix function signature to actually-used variables #20246

Merged
merged 1 commit into from
May 13, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented May 7, 2021

Overview

dev/core#2593 [REF] Fix function signature to actually-used variables

Before

$ids is received by completeOrder, $ids['contributionRecur'] is extracted to $contributionRecurID and ids is reset

After

$contributionRecurID is passed to complete order

Technical Details

ids used to hold a whole lotta stuff. Now it just holds contributionRecurID.

This gets rid of ids as a param & just passes contributionRecurID

Note we have made other changes to this signature & it is not called outside of core

Comments

@seamuslee001 another piece in removing that line causing you problems
also @mattwire is familiar with this code

@civibot
Copy link

civibot bot commented May 7, 2021

(Standard links)

@civibot civibot bot added the master label May 7, 2021
ids used to hold a whole lotta stuff. Now it just holds contributionRecurID.

This gets rid of ids as a param & just passes contributionRecurID
@seamuslee001
Copy link
Contributor

Makes sense to me test coverage is good here merging

@seamuslee001 seamuslee001 merged commit 7b57f30 into civicrm:master May 13, 2021
@seamuslee001 seamuslee001 deleted the ft branch May 13, 2021 22:31
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