You are here

function beautytips_manager_delete_tip_confirm_form_submit in BeautyTips 7.2

Submit callback for beautytips delete confirm form.

File

./beautytips_manager.admin.inc, line 505
Administration pages and forms for beautytips manager.

Code

function beautytips_manager_delete_tip_confirm_form_submit($form, &$form_state) {
  beautytips_manager_delete_custom_tip($form_state['values']['id']);
  cache_clear_all('beautytips:beautytips-ui-custom-tips', 'cache');
  $form_state['redirect'] = 'admin/config/user-interface/beautytips/custom-tips';
}