From c01f85bc37be9de6397d58f735c4f611f0f12256 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 25 Nov 2008 13:16:39 +0000 Subject: - Patch #337820 by Dave Reid: rename menu path logout to user/logout. --- modules/system/system.install | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'modules/system/system.install') 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 @@ -3132,6 +3132,16 @@ function system_update_7014() { return $ret; } +/** + * 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. -- cgit v1.2.3