- Patch #1058762 by montesq: hook_user_delete doc has wrong order of operations

merge-requests/26/head
Dries Buytaert 2011-02-19 00:23:21 +00:00
parent 843a7cf3a5
commit acd8b039a3
1 changed files with 2 additions and 3 deletions

View File

@ -34,9 +34,8 @@ function hook_user_load($users) {
/**
* Respond to user deletion.
*
* This hook is invoked from user_delete_multiple() after the account has been
* removed from the user tables in the database, and before
* field_attach_delete() is called.
* This hook is invoked from user_delete_multiple() before field_attach_delete()
* is called and before users are actually removed from the database.
*
* Modules should additionally implement hook_user_cancel() to process stored
* user data for other account cancellation methods.