diff options
Diffstat (limited to 'actions/logout.php')
| -rw-r--r-- | actions/logout.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actions/logout.php b/actions/logout.php index de062edd4..c48a26b15 100644 --- a/actions/logout.php +++ b/actions/logout.php @@ -4,8 +4,6 @@ * * @package Elgg * @subpackage Core - * @author Curverider Ltd - * @link http://elgg.org/ */ // Log out @@ -14,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 |
