Skip to content
Snippets Groups Projects
Commit acd8b039 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent 843a7cf3
No related branches found
No related tags found
No related merge requests found
...@@ -34,9 +34,8 @@ function hook_user_load($users) { ...@@ -34,9 +34,8 @@ function hook_user_load($users) {
/** /**
* Respond to user deletion. * Respond to user deletion.
* *
* This hook is invoked from user_delete_multiple() after the account has been * This hook is invoked from user_delete_multiple() before field_attach_delete()
* removed from the user tables in the database, and before * is called and before users are actually removed from the database.
* field_attach_delete() is called.
* *
* Modules should additionally implement hook_user_cancel() to process stored * Modules should additionally implement hook_user_cancel() to process stored
* user data for other account cancellation methods. * user data for other account cancellation methods.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment