You are here

function uc_roles_deletion_form_submit in Ubercart 6.2

Same name and namespace in other branches
  1. 5 uc_roles/uc_roles.module \uc_roles_deletion_form_submit()
  2. 7.3 uc_roles/uc_roles.admin.inc \uc_roles_deletion_form_submit()

Submission handler for uc_roles_deletion_form().

See also

uc_roles_deletion_form()

File

uc_roles/uc_roles.admin.inc, line 112
Roles administration menu items.

Code

function uc_roles_deletion_form_submit($form, &$form_state) {
  uc_roles_delete(user_load($form_state['values']['uid']), $form_state['values']['rid']);
  drupal_goto('admin/user/user/expiration');
}