function message_user in Message 6
Implementation of hook_user().
File
- ./
message.module, line 205 - API functions to manipulate messages.
Code
function message_user($op, &$edit, &$account, $category = NULL) {
// Advanced implementation may want to disable the cleanup and do it
// themselves.
if (!variable_get('message_entity_delete_cleanup', TRUE)) {
return;
}
if ($op == 'delete') {
// Preform basic clean up when a user is deleted.
message_deleted_entity_cleanup('user', $account->uid);
}
}