From 3ad8ef140b7fec2620268cf4437b7d8039b890ae Mon Sep 17 00:00:00 2001 From: larssandergreen Date: Sat, 10 Jun 2023 09:54:46 -0600 Subject: [PATCH] Expire notifications for Shared Address Contact Delete & Financial Type --- CRM/Contact/Form/Task/Delete.php | 2 +- CRM/Financial/Form/FinancialType.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contact/Form/Task/Delete.php b/CRM/Contact/Form/Task/Delete.php index 44cd6be1f8..91dfc235b2 100644 --- a/CRM/Contact/Form/Task/Delete.php +++ b/CRM/Contact/Form/Task/Delete.php @@ -244,7 +244,7 @@ class CRM_Contact_Form_Task_Delete extends CRM_Contact_Form_Task { } $message .= ''; - $session->setStatus($message, ts('Shared Addresses Owner Deleted'), 'info', ['expires' => 0]); + $session->setStatus($message, ts('Shared Addresses Owner Deleted'), 'info', ['expires' => 30000]); $this->set('sharedAddressMessage', NULL); } diff --git a/CRM/Financial/Form/FinancialType.php b/CRM/Financial/Form/FinancialType.php index 4702155253..2b6f1079dd 100644 --- a/CRM/Financial/Form/FinancialType.php +++ b/CRM/Financial/Form/FinancialType.php @@ -151,7 +151,7 @@ class CRM_Financial_Form_FinancialType extends CRM_Core_Form { else { $text = ts('Your Financial "%1" Type has been created and assigned to an existing financial account with the same title. You should review the assigned account and determine whether additional account relationships are needed.', $statusArray); } - CRM_Core_Session::setStatus($text, ts('Saved'), 'success', ['expires' => 0]); + CRM_Core_Session::setStatus($text, ts('Saved'), 'success', ['expires' => 30000]); } $session = CRM_Core_Session::singleton(); -- 2.25.1