From 5299b9268995d1018a6b966f9d1ef260931f5c3d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 25 Jun 2008 09:12:25 +0000 Subject: - Patch #270917 by catch, Bojhan, et al: renamed 'primary links' and 'secondary links' to 'main menu' and 'secondary menu' respectively. Based on usability study conducted with the help of Bojhan. --- modules/system/system.install | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'modules/system/system.install') diff --git a/modules/system/system.install b/modules/system/system.install index 7e2d240b7..044f52ef4 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -3017,6 +3017,18 @@ function system_update_7008() { return $ret; } +/** + * Rename the variables for primary and secondary links. + * + */ +function system_update_7009() { + $ret = array(); + $ret[] = update_sql("UPDATE {variable} SET name = 'menu_main_menu_source' WHERE name = 'menu_primary_links_source'"); + $ret[] = update_sql("UPDATE {variable} SET name = 'menu_main_menu_source' WHERE name = 'menu_primary_links_source'"); + + return $ret; +} + /** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. -- cgit v1.2.3