From 12d286988dbcdff5aad3620838e7ab777ac67a92 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 14 Oct 2009 20:41:19 +0000 Subject: Standardized actions/* git-svn-id: http://code.elgg.org/elgg/trunk@3542 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/logout.php | 38 ++++++++++++++++---------------------- 1 file changed, 16 insertions(+), 22 deletions(-) (limited to 'actions/logout.php') diff --git a/actions/logout.php b/actions/logout.php index 67ca6ad65..de062edd4 100644 --- a/actions/logout.php +++ b/actions/logout.php @@ -1,25 +1,19 @@ \ No newline at end of file +// Set the system_message as appropriate +if ($result) { + system_message(elgg_echo('logoutok')); +} else { + register_error(elgg_echo('logouterror')); +} \ No newline at end of file -- cgit v1.2.3