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