projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
204c86d
)
CRM-15771 remove payment singleton ref
author
Eileen McNaughton
<eileen@fuzion.co.nz>
Wed, 7 Jan 2015 02:41:27 +0000
(15:41 +1300)
committer
Eileen McNaughton
<eileen@fuzion.co.nz>
Wed, 7 Jan 2015 02:41:27 +0000
(15:41 +1300)
CRM/Core/Payment.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Payment.php
b/CRM/Core/Payment.php
index c4b658094405c9a8d6770cee35b5842d669d0f4b..84d5602d3c9f003f9827528e9417a35da22e71c7 100644
(file)
--- a/
CRM/Core/Payment.php
+++ b/
CRM/Core/Payment.php
@@
-580,7
+580,7
@@
abstract class CRM_Core_Payment {
}
// Instantiate PP
- $processorInstance =
$paymentClass::singleton
($mode, $paymentProcessor);
+ $processorInstance =
new $paymentClass
($mode, $paymentProcessor);
// Does PP implement this method, and can we call it?
if (!method_exists($processorInstance, $method) ||