? upgrade-menus.410636.patch
Index: system.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.install,v
retrieving revision 1.461
diff -r1.461 system.install
2400a2401,2436
>  * Upgrade standard blocks and menus.
>  */
> function system_update_7053() {
>   // Navigation block is now defined in system module.
>   db_update('block')
>     ->fields(array('module' => 'system'))
>     ->condition('module', 'user')
>     ->condition('delta', 'navigation')
>     ->execute();
> 
>   // Make the menus the same as those created in menu_install()
>   db_update('menu_custom')
>     ->fields(array('menu_name' => 'main-menu', 'title' => 'Main Menu', 'description' => 'The <em>Main</em> menu is used on many sites to show the major sections of the site, often in a top navigation bar.'))
>     ->condition('menu_name', 'primary-links')
>     ->execute();
> 
>   db_update('menu_custom')
>     ->fields(array('menu_name' => 'secondary-menu', 'title' => 'Secondary Menu', 'description' => 'The <em>Secondary</em> menu is used on many sites for legal notices and contact pages.'))
>     ->condition('menu_name', 'secondary-links')
>     ->execute();
> 
>   db_update('menu_custom')
>     ->fields(array('description' => 'The <em>Navigation</em> menu contains links intended for site visitors. Links are added to the <em>Navigation</em> menu automatically by some modules.'))
>     ->condition('menu_name', 'navigation')
>     ->execute();
> 
>   db_insert('menu_custom')
>     ->fields(array('menu_name' => 'user-menu', 'title' => 'User Menu', 'description' => "The <em>User</em> menu contains links related to the user's account, as well as the 'Log out' link."))
>     ->execute();
> 
>   db_insert('menu_custom')
>     ->fields(array('menu_name' => 'management', 'title' => 'Management', 'description' => "The <em>Management</em> menu contains links for administrative tasks."))
>     ->execute();
> }
> 
> /**
