You are here

function special_menu_items_update_6000 in Special menu items 6

Implements hook_update_N().

File

./special_menu_items.install, line 21
area_banner.install Contains uninstall for functions used by special_menu_items

Code

function special_menu_items_update_6000() {

  // Removes the 'oldtheme_menu_item_link' variable, which should now
  // be an array and not a string.
  variable_del('oldtheme_menu_item_link');

  // Rebuild all theme registries.
  module_invoke('system', 'theme_data');
  drupal_rebuild_theme_registry();
  return array();
}