Implements hook_user_predelete().
function poll_user_predelete($account) { db_delete('poll_vote') ->condition('uid', $account->uid) ->execute(); }