You are here

function skinr_ui_delete_confirm_submit in Skinr 6.2

Same name and namespace in other branches
  1. 7.2 skinr_ui.admin.inc \skinr_ui_delete_confirm_submit()

File

./skinr_ui.admin.inc, line 816
Admin page callbacks for the skinr module.

Code

function skinr_ui_delete_confirm_submit($form, &$form_state) {
  if ($form_state['values']['confirm']) {
    $skinr = new stdClass();
    $skinr->theme = $form_state['values']['theme'];
    $skinr->module = $form_state['values']['module'];
    $skinr->sid = $form_state['values']['sid'];
    $skinr->skins = array();
    $skinr->settings = array();
    skinr_set($skinr);
  }
  $form_state['redirect'] = 'admin/build/skinr';
}