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:
af32112
)
cache in main singleton class
author
Eileen McNaughton
<eileen@fuzion.co.nz>
Wed, 7 Jan 2015 01:44:06 +0000
(14:44 +1300)
committer
Eileen McNaughton
<eileen@fuzion.co.nz>
Wed, 7 Jan 2015 01:44:06 +0000
(14:44 +1300)
CRM/Core/Payment.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Payment.php
b/CRM/Core/Payment.php
index 7345ab67bf7f84d3a7a48b3ce412b6021e202bd6..c4b658094405c9a8d6770cee35b5842d669d0f4b 100644
(file)
--- a/
CRM/Core/Payment.php
+++ b/
CRM/Core/Payment.php
@@
-125,7
+125,7
@@
abstract class CRM_Core_Payment {
}
//load the object.
- self::$_singleton[$cacheKey] =
$paymentClass::singleton
($mode, $paymentProcessor);
+ self::$_singleton[$cacheKey] =
new $paymentClass
($mode, $paymentProcessor);
}
//load the payment form for required processor.