[REF] IPN - move unshared chunk of code out of shared function
authoreileen <emcnaughton@wikimedia.org>
Fri, 25 Sep 2020 21:54:54 +0000 (09:54 +1200)
committereileen <emcnaughton@wikimedia.org>
Fri, 25 Sep 2020 23:48:37 +0000 (11:48 +1200)
commit55bc843db4557a950aac0f38f0507275fa9706c8
treea010a53edc0796e6e6571cb3a509114bc8efb6ff
parent563a5e4ac8ceff4d8e2e6faaaf4ff56ad5501cd0
[REF] IPN - move unshared chunk of code out of shared function

We are passing a lot of variables into recur (& going to a lot of work to construct them) when they are not
actually processed in a common way - returning them to the calling functions makes it clear we are
a skip & a jump from not needing to instantiate objects at all
CRM/Contribute/BAO/Contribution.php
CRM/Core/Payment/AuthorizeNetIPN.php