You are here

function services_admin_keys_delete_confirm_submit in Services 5

Same name and namespace in other branches
  1. 6 services_admin_keys.inc \services_admin_keys_delete_confirm_submit()

File

./services_admin_keys.inc, line 117
The file contains code which is used to create the keys interface

Code

function services_admin_keys_delete_confirm_submit($form_id, $form_values) {
  services_admin_keys_delete($form_values['kid']);
  $t_args = array(
    '%key' => $form_values['kid'],
  );
  drupal_set_message(t('The key %key has been deleted.', $t_args));
  watchdog('menu', t('Deleted key %key.', $t_args), WATCHDOG_NOTICE);
  return 'admin/build/services/keys';
}