function services_keyauth_admin_keys_delete_confirm_submit in Services 7
Same name and namespace in other branches
- 6.2 auth/services_keyauth/services_keyauth.admin.inc \services_keyauth_admin_keys_delete_confirm_submit()
File
- auth/
services_keyauth/ services_keyauth.admin.inc, line 173 - Generate security keys.
Code
function services_keyauth_admin_keys_delete_confirm_submit($form, &$form_state) {
services_keyauth_admin_keys_delete($form_state['values']['kid']);
$t_args = array(
'%key' => $form_state['values']['kid'],
);
drupal_set_message(t('The key %key has been deleted.', $t_args));
watchdog('menu', 'Deleted key %key.', $t_args, WATCHDOG_NOTICE);
$form_state['redirect'] = 'admin/build/services/keys';
}