You are here

function system_update_7009 in Drupal 7

Rename the variable for primary links.

Related topics

File

modules/system/system.install, line 2049
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');
  }
}