CRM-12856 - CRM_Core_Lock - Quieter logs
[civicrm-core.git] / CRM / Core / Payment.php
index 6afcf6379a6327fa64650bcf88bd6ec1be8a4c25..56249840903185d4f2f806e43a08b0e0daa56e21 100644 (file)
@@ -260,10 +260,7 @@ abstract class CRM_Core_Payment {
       }
       else {
         // Legacy or extension as module instance
-        if(empty($paymentClass)) {
-          $paymentClass = 'CRM_Core_' . $dao->class_name;
-
-        }
+        $paymentClass = 'CRM_Core_' . $dao->class_name;
       }
 
       $paymentProcessor = CRM_Financial_BAO_PaymentProcessor::getPayment($dao->processor_id, $mode);