function services_admin_keys_delete_confirm_submit in Services 6
Same name and namespace in other branches
- 5 services_admin_keys.inc \services_admin_keys_delete_confirm_submit()
File
- ./
services_admin_keys.inc, line 123 - @author Services Dev Team
Code
function services_admin_keys_delete_confirm_submit($form, &$form_state) {
services_admin_keys_delete($form_state['values']['kid']);
$t_args = array(
'%key' => $form_state['kid'],
);
drupal_set_message(t('The key %key has been deleted.', $t_args));
watchdog('menu', 'Deleted key %key.', array(
'%key' => $t_args,
), WATCHDOG_NOTICE);
$form_state['redirect'] = 'admin/build/services/keys';
}