You are here

function variable_admin_reset_form_submit in Variable 6

File

variable_admin/variable_admin.pages.inc, line 88
Variable API module - Admin UI

Code

function variable_admin_reset_form_submit($form, &$form_state) {
  $op = isset($form_state['values']['op']) ? $form_state['values']['op'] : '';
  switch ($op) {
    case t('Rebuild information'):
      variable_cache_clear();
      break;
  }
}