function poll_user_delete

Implements hook_user_delete().

File

modules/poll/poll.module, line 992

Code

function poll_user_delete($account) {
    db_delete('poll_vote')->condition('uid', $account->uid)
        ->execute();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.