modules/system/system.install | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git modules/system/system.install modules/system/system.install
index 0d73c64..edcfa6e 100644
--- modules/system/system.install
+++ modules/system/system.install
@@ -2305,6 +2305,27 @@ function system_update_7052() {
}
/**
+ * 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();
+
+ // Create the same menus as in menu_install().
+ db_insert('menu_custom')
+ ->fields(array('menu_name' => 'user-menu', 'title' => 'User Menu', 'description' => "The User 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 Management menu contains links for administrative tasks."))
+ ->execute();
+}
+
+/**
* @} End of "defgroup updates-6.x-to-7.x"
* The next series of updates should start at 8000.
*/