You are here

function beautytips_manager_delete_confirm_form_submit in BeautyTips 6.2

Submit callback for beautytips delete confirm form.

File

./beautytips_manager.module, line 326

Code

function beautytips_manager_delete_confirm_form_submit($form, &$form_state) {
  beautytips_manager_delete_custom_tip($form_state['values']['bid']);
  cache_clear_all('beautytips:beautytips-ui-custom-tips', 'cache');
  $form_state['redirect'] = 'admin/settings/beautytips/manager';
}