Commit b0dbe4a4 authored by Dries's avatar Dries

- Patch #3987 by jhriggs: changed the location of the logout link.

parent 142a4e94
......@@ -439,7 +439,7 @@ function user_link($type) {
if ($user->uid) {
menu('user', t("my account"), "user_page", 8);
menu("user/edit", t("edit account"), "user_page", 0);
menu("user/logout", t("log out"), "user_page", 10);
menu("logout", t("log out"), "user_logout", 10);
}
else {
menu('user', t("my account"), "user_page", 8, MENU_HIDE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment