X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FPayment%2FPayPalIPN.php;h=ae915749c82a2aff7e3244d67f9425f8cbb7545b;hb=6f2500ee7589360102875df4367568fe87485df6;hp=a4035e789ed22b1d7e3615c325fb1940fa3b1a2d;hpb=c490a46ac4bf490d3fbb31e35d24c6b43e764f00;p=civicrm-core.git diff --git a/CRM/Core/Payment/PayPalIPN.php b/CRM/Core/Payment/PayPalIPN.php index a4035e789e..ae915749c8 100644 --- a/CRM/Core/Payment/PayPalIPN.php +++ b/CRM/Core/Payment/PayPalIPN.php @@ -1,7 +1,7 @@ "; @@ -226,7 +226,8 @@ class CRM_Core_Payment_PayPalIPN extends CRM_Core_Payment_BaseIPN { * @param bool $recur * @param bool $first */ - function single(&$input, &$ids, &$objects, + function single( + &$input, &$ids, &$objects, $recur = FALSE, $first = FALSE ) { @@ -285,8 +286,8 @@ class CRM_Core_Payment_PayPalIPN extends CRM_Core_Payment_BaseIPN { $this->completeTransaction($input, $ids, $objects, $transaction, $recur); } - function main() { - //@todo - this could be refactored like PayPalProIPN & a test could be added + public function main() { + //@todo - this could be refactored like PayPalProIPN & a test could be added $objects = $ids = $input = array(); $component = CRM_Utils_Array::value('module', $_GET); @@ -342,7 +343,7 @@ class CRM_Core_Payment_PayPalIPN extends CRM_Core_Payment_BaseIPN { * @param $input * @param $ids */ - function getInput(&$input, &$ids) { + public function getInput(&$input, &$ids) { if (!$this->getBillingID($ids)) { return FALSE; }