You are here

function jquery_ui_filter_update_7000 in jQuery UI filter 7

Allow Accordion and Tabs to use different header tags.

File

./jquery_ui_filter.install, line 20
Installation information for the 'jQuery UI filter' module.

Code

function jquery_ui_filter_update_7000() {
  $header_tag = variable_get('jquery_ui_filter_header_tag', 'h3');
  variable_del('jquery_ui_filter_header_tag');
  if ($header_tag != 'h3') {
    variable_set('jquery_ui_filter_accordion_header_tag', $header_tag);
    variable_set('jquery_ui_filter_tabs_header_tag', $header_tag);
  }
}