Now thinking in ASCII...I guess this works, given Moodle's course-centricity. The big blobs of data you want to remove (at some point) are all under courses, so simply removing courses is sufficient. With the SPDC Portfolio System we're introducing user-centric data into Moodle (Portfolios and Home Folders), so perhaps we have a situation uniquely requiring data removal upon user deletion.
This is a ping for comments, not really an RFC; my question applies only to the SPDC code. I haven't decided yet whether the SPDC PF system will
- patch user.php to remove a user's portfolio when her account is "deleted" or
- just provide a separate interface within the portfolio system to delete users' portfolios.