]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
on logout send the user to the main page
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 14 May 2011 21:58:17 +0000 (21:58 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 14 May 2011 21:58:17 +0000 (21:58 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@9085 36083f99-b078-4883-b0ff-0f9b5a30f544

actions/logout.php

index 98926d2057e81e815bcfe7581637b709d8e74597..c48a26b159f34568f9b2177a423c0443fd0183bd 100644 (file)
@@ -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