diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-05-14 21:58:17 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-05-14 21:58:17 +0000 |
commit | 5f673099212b1377ab34471a041ed2f2e169d711 (patch) | |
tree | 3dfb4279627802b41e5b38b1677009752f7d4602 | |
parent | 37d9872a39954ca3ffb16c8381e71e43bf9db1d3 (diff) | |
download | elgg-5f673099212b1377ab34471a041ed2f2e169d711.tar.gz elgg-5f673099212b1377ab34471a041ed2f2e169d711.tar.bz2 |
on logout send the user to the main page
git-svn-id: http://code.elgg.org/elgg/trunk@9085 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | actions/logout.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/logout.php b/actions/logout.php index 98926d205..c48a26b15 100644 --- a/actions/logout.php +++ b/actions/logout.php @@ -12,6 +12,7 @@ $result = logout(); // Set the system_message as appropriate if ($result) { system_message(elgg_echo('logoutok')); + forward(); } else { register_error(elgg_echo('logouterror')); }
\ No newline at end of file |