Commit 690fa543 authored by eileen's avatar eileen 🎱

Merge pull request #6773 from civicrm/eileenmcnaughton-patch-1

CRM-16555 add code-comments
parents 2b595ca1 b9948b3c
......@@ -432,6 +432,11 @@ LEFT JOIN civicrm_contribution on (civicrm_contribution.contact_id = civicrm_co
}
$this->_processors = array();
foreach ($this->_paymentProcessors as $id => $processor) {
// @todo review this. The inclusion of this IF was to address test processors being incorrectly loaded.
// However the function $this->getValidProcessors() is expected to only return the processors relevant
// to the mode (using the actual id - ie. the id of the test processor for the test processor).
// for some reason there was a need to filter here per commit history - but this indicates a problem
// somewhere else.
if ($processor['is_test'] == ($this->_mode == 'test')) {
$this->_processors[$id] = ts($processor['name']);
if (!empty($processor['description'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment