From: cash Date: Sat, 14 May 2011 21:58:17 +0000 (+0000) Subject: on logout send the user to the main page X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=5f673099212b1377ab34471a041ed2f2e169d711;p=lorea%2Felgg.git on logout send the user to the main page git-svn-id: http://code.elgg.org/elgg/trunk@9085 36083f99-b078-4883-b0ff-0f9b5a30f544 --- 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