You are here

function dynamic_banner_admin_delete_confirm_submit in Dynamic Banner 7.2

Same name and namespace in other branches
  1. 6 includes/callbacks.inc \dynamic_banner_admin_delete_confirm_submit()
  2. 7 includes/callbacks.inc \dynamic_banner_admin_delete_confirm_submit()
  3. 8.x dynamic_banner.module \dynamic_banner_admin_delete_confirm_submit()

Execute banners deletion.

File

./dynamic_banner.module, line 881
Distributed under GNU GPL version 3

Code

function dynamic_banner_admin_delete_confirm_submit($form, &$form_state) {
  if ($form_state['values']['confirm']) {
    dynamic_banner_admin_delete($form_state['values']['dbid']);
  }
  $form_state['redirect'] = 'admin/structure/banners';
}