On Fri, 2006-07-21 at 01:04 -0700, Derek Wright wrote:
On Jul 21, 2006, at 12:38 AM, Dries Buytaert wrote:
Adding an extra where-clause to all queries is perfectly valid if that is the best solution from a technical point of view. We shouldn't go with a solution that is sub-optimal, and avoid a superior solution just because it is a lot of work. That sort of decisions tend to backfire in the long run.
if we're going to generate a patch that touches "thousands of queries" and test the results, the "best solution from a technical point of view" seems to be to port all said queries to some kind of query building interface so we never have to touch them again for this kind of thing...
-derek
workflow + actions in core could be an option. Have a workflow state for deleted, on state change to deleted, do action delete. yet another option.