diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-06-25 09:12:25 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-06-25 09:12:25 +0000 |
commit | 5299b9268995d1018a6b966f9d1ef260931f5c3d (patch) | |
tree | d3c3c218f95c64ac211376def10d07e6913a3e94 /modules/system/system.install | |
parent | 61cde080387d331777c87dbaf2b02f4ab5307072 (diff) | |
download | brdo-5299b9268995d1018a6b966f9d1ef260931f5c3d.tar.gz brdo-5299b9268995d1018a6b966f9d1ef260931f5c3d.tar.bz2 |
- 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.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 12 |
1 files changed, 12 insertions, 0 deletions
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 @@ -3018,6 +3018,18 @@ function system_update_7008() { } /** + * 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. */ |