You are here

function nice_menus_update_6001 in Nice Menus 6.2

Same name and namespace in other branches
  1. 7.3 nice_menus.install \nice_menus_update_6001()
  2. 7.2 nice_menus.install \nice_menus_update_6001()

Implements hook_update_N().

File

./nice_menus.install, line 37
Update functions for Nice menus.

Code

function nice_menus_update_6001() {

  // Switch the JS toggle variable name.
  $old_setting = variable_get('nice_menus_ie', 1);
  variable_set('nice_menus_js', $old_setting);
  variable_del('nice_menus_ie');
  return array();
}