Hi,
For some reason when I'm using this, clicking on the Delete button just fires user_delete in user.module, so the user is deleted but user nodes aren't.
The form_alter hook is working because the confirm page with deletion options is show, and if I tweak the option text the changes show on the page. But the #submit value doesn't seem to work.
I also noticed that there is no form['uid'] value defined, though this appears to be a different issue.
Logging statements, echo statements, etc. in user_delete_submit are never called.
Any ideas?
Thanks.

Comments

designeq’s picture

Yes, I couldn't get this to work either. Same effects: user was deleted but not his posts. This would have saved me an enormous amount of time had it actually worked.

ilo’s picture

ping.. is this issue still alive? 30 weeks are too long, and there are currently only 68 (known) usages of this version.

mikekelly’s picture

I didn't find a solution to this - I worked around it by just providing a link for users to request deletion by the administrator. Not ideal, but working on a site with fairly low levels of activity at the moment.