function mobile_codes_presets_delete_submit in Mobile Codes 6
Same name and namespace in other branches
- 5 mobile_codes.admin.inc \mobile_codes_presets_delete_submit()
File
- ./
mobile_codes.admin.inc, line 242
Code
function mobile_codes_presets_delete_submit($form, &$form_state) {
_mobile_codes_preset_delete($form_state['values']['pid']);
_mobile_codes_flush_cache();
drupal_set_message(t('Deleted preset %name', array(
'%name' => $form_state['values']['name'],
)));
drupal_goto('admin/settings/mobile_codes/presets/list');
}