[development] Can I Indicate failure from hook_user?

Earnie Boyd earnie at users.sourceforge.net
Tue Jul 22 13:45:05 UTC 2008


Quoting John Fiala <jcfiala at gmail.com>:

>
> I don't think there is any way - looking at user_delete, it doesn't
> call hook_user until the user is deleted.
>

Well that isn't too friendly.  If you don't want the user to be deleted 
you could use a hook_form_alter to hide or remove the button.

Earnie -- http://for-my-kids.com/
-- http://give-me-an-offer.com/



More information about the development mailing list