function system_update_7009

Rename the variable for primary links.

Related topics

File

modules/system/system.install, line 2068

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');
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.