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 unused parameter recur from CompleteOrder signature #15800

Merged
merged 1 commit into from
Nov 18, 2019

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Nov 10, 2019

Overview

Minor tidy up affecting Authorize.net IPN - remove an unused parameter, stop doing date wrangling we haven't needed in years

Before

Less readable

After

More readable

Technical Details

We've been pretty clear this should always be called via the api so I'm not worried about
calling functions outside core being affected.

I've discovered that A.net is creating borked transactions so trying to break this down & fix

Also the removed date wrangling is from when the DAO could not save dates in the same format it retrieved from the DB with - we fixed that a while back

Comments

@civibot
Copy link

civibot bot commented Nov 10, 2019

(Standard links)

@civibot civibot bot added the master label Nov 10, 2019
@eileenmcnaughton eileenmcnaughton changed the title Remove unused parameter Remove unused parameter recur from CompleteOrder signature Nov 10, 2019
@@ -134,14 +134,6 @@ public function recur(&$input, &$ids, &$objects, $first) {

$now = date('YmdHis');

// fix dates that already exist
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We haven't needed to reformat get-dao for save-dao for years now

We've been pretty clear this should always be called via the api so  I'm not worried about
calling functions outside core being affected.

I've discoverred that A.net is creating borked transactions so trying to break this down & fix
@mattwire mattwire merged commit 107d8f6 into civicrm:master Nov 18, 2019
@eileenmcnaughton eileenmcnaughton deleted the anet_valid branch November 18, 2019 20:24
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