Delete Messages

Administration tools ::: tool_deletemessage
Maintained by Esdras Caleb Oliveira Silva
Moodle never delete messages from message table. This plugin enables you to set a maximum time to messages stay in user box before auto delete them. It also enables the purge old messagens from database and erase messages of old conversations.

Delete Messages 1

Moodle 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5, 5.0
Released: Sunday, 1 June 2025, 4:55 AM

tool_deletemessage

Messages in Moodle are not deleted since the messaging overhaul, and sometimes they make the system slow even when both users delete them. This plugin creates a task that deletes these messages from the database. This plugin allows you to permanently delete these messages. And also mark read messages or all messages for deletion after some time. Similarly to what Moodle enables you to do with notifications. To use it, go to Administration > Messages > Auto Delete Messages and set the time When you want messages to be automatically deleted. To install the plugin, use the admin panel or put it in the tools folder in MOODLE_DIR_ROOT/admin/tool Now delete group messages and private messages

License

GNU GPL v3 or later. http://www.gnu.org/copyleft/gpl.html

Version information

Version build number
2025053000
Version release name
1
Maturity
Stable version
MD5 Sum
3fc45f2199be46ffb8198244d7ba12c1
Supported software
Moodle 3.5, Moodle 3.6, Moodle 3.7, Moodle 3.8, Moodle 3.9, Moodle 3.10, Moodle 3.11, Moodle 4.0, Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5, Moodle 5.0

Version control information

Version control system (VCS)
GIT
VCS repository URL

Default installation instructions for plugins of the type Administration tools

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "mytool") in the "admin/tool" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation