Delete Messages

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.
Price option: Free

Supports Moodle 3.5-5.1 See all versions
Latest release: 7 months ago
Installations: 393
Downloads (last 90 days): 238

Frankenstyle name: tool_deletemessage
Administration tools

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

Hi ricardo, it removes from the message_conversation and message using the moodle core function delete_all_conversation_data. You can check this in the
https://github.com/EsdrasCaleb/moodle-tool_deletemessage/blob/main/classes/task/delete.php
From which tables are the messages removed by the plugin?
Is it compatible with Moodle 5.0?
Sadelly Yes Nellie, I hoped the newer versions of Moodle solved the problem of massive messages, but the message collect code remains untouched. Please give a comment on my issue
https://tracker.moodle.org/browse/MDL-78702
Hi, is it compatible with Moodle 4.5?
El plugin funciona para todos los usuarios, agrega la posibilidad de establecer un tiempo máximo para los mensajes del sistema.
Hola Esdras, me gustaría probar el plugin, pero tengo unas dudas, se aplica a todos los usuarios o puede utilizarlo para un solo usuario?
Dr Nellie I hope you problems are fixed. The plugin now can delete group messages and personal messages
I set it to one month, but would like to be able to set it to days. I have over 5000 messages.
Its not anymore. The version is satable and can clear messages from your database
Why is it Declared maturity level [MATURITY_RC]?
HI i upated it to delete messagens from database. I found a way. It was easy but I did not had time...
Its not easy because the moodle function only deletes conversations. YOu could set the date to delete messages to 1 day and delete them in one day run cron to delete. And set it again to what you want.
I am working in a update to create a function that delete messagens. Maybe I put a message to delete all messagens of one users or something like that...
Hello. I really liked your plugin.
Fixes the problem of deleting messages that Moodle doesn't do.
A question:
How can I delete all messages?
Could you pass me the query?
Thanks
Approval issue created: CONTRIB-9311