Implements hook_user_cancel().
function profile_user_cancel($edit, $account, $method) { switch ($method) { case 'user_cancel_reassign': db_delete('profile_value') ->condition('uid', $account->uid) ->execute(); } }