function openid_user_delete_form_submit

File

modules/openid/openid.pages.inc, line 106

Code

function openid_user_delete_form_submit($form, &$form_state) {
    $query = db_delete('authmap')->condition('uid', $form_state['build_info']['args'][0]->uid)
        ->condition('aid', $form_state['build_info']['args'][1])
        ->condition('module', 'openid')
        ->execute();
    if ($query) {
        drupal_set_message(t('OpenID deleted.'));
    }
    $form_state['redirect'] = 'user/' . $form_state['build_info']['args'][0]->uid . '/openid';
}

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