From 5f673099212b1377ab34471a041ed2f2e169d711 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 14 May 2011 21:58:17 +0000 Subject: on logout send the user to the main page git-svn-id: http://code.elgg.org/elgg/trunk@9085 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/logout.php | 1 + 1 file changed, 1 insertion(+) (limited to 'actions/logout.php') 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 -- cgit v1.2.3