As far as I can see the only time you delete from pm_tags_index is when a user is deleted.

Wouldn't this mean the table steadily fills up if users never are deleted, but messages are?

A requirement from my client is that users are never deleted, but only disabled. Will pm_tags_index be ever increasing for me?

Comments

Berdir’s picture

Yes, this is missing. Simple reason is that nobody thought of it yet.

Patches are welcome to fix it, should be rather trivial.

Berdir’s picture

Version: » 6.x-2.x-dev

FYI, if someone wants to give this a try (it should be rather easy), note that tag information should only be deleted when messages are flushed, not when they are deleted.

See http://api.worldempire.ch/api/privatemsg/privatemsg.api.php/function/hoo...

oadaeh’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

This issue is being closed because it is against a branch for a version of Drupal that is no longer supported.
If you feel that this issue is still valid, feel free to re-open and update it (and any possible patch) to work with the 7.x-1.x branch (bug fixes only) or the 7.x-2.x branch.
Thank you.