You are here

function cas_user_delete_form in CAS 7

Same name and namespace in other branches
  1. 6.3 cas.pages.inc \cas_user_delete_form()

Menu callback; Delete the specified CAS username from the system.

1 string reference to 'cas_user_delete_form'
cas_menu in ./cas.module
Implements hook_menu().

File

./cas.pages.inc, line 60
User page callbacks for the cas module.

Code

function cas_user_delete_form($form, $form_state, $account, $aid = 0) {
  return confirm_form(array(), t('Are you sure you want to delete the CAS username %cas_name for %user?', array(
    '%cas_name' => $account->cas_names[$aid],
    '%user' => $account->name,
  )), 'user/' . $account->uid . '/cas');
}