function system_update_7009
7.x system.install | system_update_7009() |
Rename the variable for primary links.
Related topics
File
- drupal-7.x/
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');
}
}