This patch will always keep a maximum activity messages per user. This means that on cron, if a user has more messages then when is described in the admin settings form it will delete those extra messages.

This patch does not go user by user, and instead does this through two queries. You could go user by user and delete these messages, but this is way faster.

CommentFileSizeAuthor
activity_cvs.patch3.84 KBScott Reynolds