Totara Learn Open Discussions

Alerts -- how long are they kept?

 
Carla Bradley
Alerts -- how long are they kept?
by Carla Bradley - Tuesday, 14 January 2020, 11:32 AM
 

Is there a setting to allow alerts to be kept for a specified period of time (specifically from seminar notifications)? I thought it was "Delete read notifications" but apparently this is different.

It appears to keep the notifications for 30 days. Our users are often scheduled to attend courses for more than 30 days out, and are trying to refer back to their notifications (which we instruct them to look for in the alerts block on their dashboards), however, they seem to be disappearing before we would like.

Can you direct me where to change this? If there's no setting in the UI, can you tell me where to adjust in the code?


Thanks!

me
Re: Alerts -- how long are they kept?
by George Angus - Thursday, 16 January 2020, 11:24 AM
Group Totara

Hi Carla,

Apologies for the delay in getting back to you. Its not a configurable setting.

TOTARA_MSG_CRON_DISMISS_ALERTS in totara/message/classes/task/update_messages_task.php controls how many days. 

cheers,

George.

Carla Bradley
Re: Alerts -- how long are they kept?
by Carla Bradley - Tuesday, 21 January 2020, 8:56 AM
 

No problem. This will help. Thank you!