I have a flag used to report problem content, with a field on it used to supply a reason for the report. I have rules so that when the flagging reaches a threshold, a moderator is notified. When a moderator then saves the node again, I have another rule which also remove the report flaggings too.

However it sees the tables containing their "reason" chosen by the reporters is never emptied, the rows aren't even marked as deleted. This a) bloats the database unnecessarily and b) prevents any of the "reason" choices being remove, as Drupal complains the choices are still in use.

Is there a way of ensuring the rows are marked as deleted? Have I missed something?

Comments

joachim’s picture