summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-06-25 09:12:25 +0000
committerDries Buytaert <dries@buytaert.net>2008-06-25 09:12:25 +0000
commit5299b9268995d1018a6b966f9d1ef260931f5c3d (patch)
treed3c3c218f95c64ac211376def10d07e6913a3e94 /modules/system/system.install
parent61cde080387d331777c87dbaf2b02f4ab5307072 (diff)
downloadbrdo-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.install12
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.
*/