diff --git a/CRM/Sepa/Upgrader.php b/CRM/Sepa/Upgrader.php index 86c331e6..469b0d79 100644 --- a/CRM/Sepa/Upgrader.php +++ b/CRM/Sepa/Upgrader.php @@ -300,8 +300,8 @@ public function upgrade_1507() { // if the payment processors are being used, divert them to the dummy processor // and issue a warning to install the SDD PP extension $message = E::ts("Your CiviSEPA payment processors have been disabled, the code was moved into a new extension. If you want to continue using your CiviSEPA payment processors, please install the latest version of the CiviSEPA Payment Processor Extension."); - CRM_Core_DAO::executeQuery("UPDATE civicrm_payment_processor_type SET class_name='Payment_Dummy' WHERE id IN ({$sdd_processor_type_id_list});"); - CRM_Core_Session::setStatus($message, E::ts("Warning: SDD Payment Processor Disabled!"), 'warn'); + CRM_Core_DAO::executeQuery("UPDATE civicrm_payment_processor SET class_name='Payment_Dummy' WHERE payment_processor_type_id IN ({$sdd_processor_type_id_list});"); + CRM_Core_Session::setStatus($message, E::ts("%1 Payment Processor(s) Disabled!", [1 => $use_count]), 'warn'); Civi::log()->warning($message); } else {