function system_update_7009

You are here

7 system.install system_update_7009()

Rename the variable for primary links.

Related topics

File

modules/system/system.install, line 1939
Install, update and uninstall functions for the system module.

Code

function system_update_7009() {
  $current_primary = variable_get('menu_primary_links_source');
  if (isset($current_primary)) {
    variable_set('menu_main_links_source', $current_primary);
    variable_del('menu_primary_links_source');
  }
}