projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Common.js lint fixes
[civicrm-core.git]
/
Civi
/
Payment
/
System.php
diff --git
a/Civi/Payment/System.php
b/Civi/Payment/System.php
index f4f2fede0cc2e39d6eedd0c6c34a03eca80228b8..29538b64bf7d95cf75d80186c5d33048faa09229 100644
(file)
--- a/
Civi/Payment/System.php
+++ b/
Civi/Payment/System.php
@@
-77,4
+77,14
@@
class System {
return self::getByProcessor($processor);
}
+ /**
+ * Flush processors from static cache.
+ *
+ * This is particularly used for tests.
+ *
+ */
+ public function flushProcessors() {
+ $this->cache = array();
+ }
+
}