whitespace
authorEileen McNaughton <eileen@fuzion.co.nz>
Tue, 6 Jan 2015 14:18:29 +0000 (03:18 +1300)
committerEileen McNaughton <eileen@fuzion.co.nz>
Tue, 6 Jan 2015 14:18:29 +0000 (03:18 +1300)
CRM/Financial/BAO/PaymentProcessor.php

index 3c3345bb377f213f2603b706f61e3783c994a145..c606efb868c3999c5183193edcad57c3b770f634 100644 (file)
@@ -283,14 +283,14 @@ class CRM_Financial_BAO_PaymentProcessor extends CRM_Financial_DAO_PaymentProces
    * @return array
    */
   public static function getAllPaymentProcessors($mode, $reset = FALSE) {
-    /**
-     * $cacheKey = 'CRM_Financial_BAO_Payment_Processor_' . ($mode ? 'test' : 'all');
-    if (!$reset) {
-      $processors = CRM_Utils_Cache::singleton()->get($cacheKey);
-      if (!empty($processors)) {
-        return $processors;
-      }
-    }
+   /**
+   * $cacheKey = 'CRM_Financial_BAO_Payment_Processor_' . ($mode ? 'test' : 'all');
+   if (!$reset) {
+     $processors = CRM_Utils_Cache::singleton()->get($cacheKey);
+     if (!empty($processors)) {
+       return $processors;
+     }
+   }
      * */
     $retrievalParameters = array('is_active' => TRUE, 'options' => array('sort' => 'is_default DESC, name'), 'api.payment_processor_type.getsingle' => 1);
     if ($mode == 'test') {