Earl Dunovant wrote:
http://api.drupal.org/api/function/hook_user
On Sun, Apr 4, 2010 at 12:00 PM, Steve Yelvington <[email protected]
<mailto:[email protected]>> wrote:
We ran into a problem involving deleted accounts, so I'm looking
into implementing some tighter controls. However, it doesn't appear
that user_delete() is a hook, so I can't intercept it. I suppose I
can filter out the "delete" button, but are there any other obvious
solutions? I don't want to kill any kittens.
Also, Watchdog logs the deletion but not the ID of the user who
deleted the account. Seems like an oversight.
And D7 http://api.drupal.org/api/function/hook_user_delete/7 but
consider also the hook_form_alter.
--
Earnie
-- http://progw.com
-- http://www.for-my-kids.com