function openid_user_delete_form
Same name and namespace in other branches
- 6.x drupal-6.x/modules/openid/openid.pages.inc \openid_user_delete_form()
Menu callback; Delete the specified OpenID identity from the system.
1 string reference to 'openid_user_delete_form'
- openid_menu in drupal-7.x/
modules/ openid/ openid.module - Implements hook_menu().
Archivo
- drupal-7.x/
modules/ openid/ openid.pages.inc, line 97 - User page callbacks for the openid module.
Código
function openid_user_delete_form($form, $form_state, $account, $aid = 0) {
$authname = db_query("SELECT authname FROM {authmap} WHERE uid = :uid AND aid = :aid AND module = 'openid'", array(
':uid' => $account->uid,
':aid' => $aid,
))->fetchField();
return confirm_form(array(), t('Are you sure you want to delete the OpenID %authname for %user?', array('%authname' => $authname, '%user' => $account->name)), 'user/' . $account->uid . '/openid');
}