diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-11-25 13:16:39 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-11-25 13:16:39 +0000 |
commit | c01f85bc37be9de6397d58f735c4f611f0f12256 (patch) | |
tree | 31886b18038b0280a43dd0a12c08b816454d1f0f /modules/system/system.install | |
parent | eda100b83da4d71bf0bfa6c614e08327ef0d292b (diff) | |
download | brdo-c01f85bc37be9de6397d58f735c4f611f0f12256.tar.gz brdo-c01f85bc37be9de6397d58f735c4f611f0f12256.tar.bz2 |
- Patch #337820 by Dave Reid: rename menu path logout to user/logout.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index ae9cd81cd..ba0d5b59a 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -3133,6 +3133,16 @@ function system_update_7014() { } /** + * Change the user logout path. + */ +function system_update_7015() { + $ret = array(); + $ret[] = update_sql("UPDATE {menu_links} SET link_path = 'user/logout' WHERE link_path = 'logout'"); + $ret[] = update_sql("UPDATE {menu_links} SET router_path = 'user/logout' WHERE router_path = 'logout'"); + return $ret; +} + +/** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. */ |