function flag_lists_user_delete in Flag Lists 7
Same name and namespace in other branches
- 7.3 flag_lists.module \flag_lists_user_delete()
Implementation of hook_user_delete().
File
- ./
flag_lists.module, line 786 - The Flag Lists module.
Code
function flag_lists_user_delete($account) {
// Remove personal flags by this user.
$num_deleted = db_delete('flag_lists_flags')
->condition('uid', $account->uid)
->execute();
}