function 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 modules/
openid/ openid.module - Implements hook_menu().
File
-
modules/
openid/ openid.pages.inc, line 97
Code
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');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.