Moodle Plugins directory: Clear Messages | Moodle.org
Clear Messages
Blocks ::: block_clearmessages
Maintained by
Marcelo M. A. Júnior
Adds a block that lets a user clear (hide) their Moodle messages up to a selected date.
Latest release:
4 sites
58 downloads
1 fans
Current versions available: 1
This plugin provides a simple way for users to clear their visible message history in Moodle up to a selected date. Instead of deleting records from the database, it marks messages as deleted for the current user, ensuring the messaging data remains intact while allowing users to clean their message interface.
The block includes a date selector that allows the user to define a cutoff date. All messages sent by the user or associated with their messaging actions up to the end of the selected day are processed. The plugin checks for existing deletion actions to avoid duplicates and only inserts the necessary records into Moodle’s core message_user_actions table.
Useful links
Contributors
Marcelo M. A. Júnior (Lead maintainer)
Please login to view contributors details and/or to contact them
Comments