aboutsummaryrefslogtreecommitdiff
path: root/actions/logout.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/logout.php')
-rw-r--r--actions/logout.php44
1 files changed, 22 insertions, 22 deletions
diff --git a/actions/logout.php b/actions/logout.php
index 078e5a7aa..67ca6ad65 100644
--- a/actions/logout.php
+++ b/actions/logout.php
@@ -1,25 +1,25 @@
-<?php
-
- /**
- * Elgg logout action
- *
- * @package Elgg
- * @subpackage Core
+<?php
- * @author Curverider Ltd
+ /**
+ * Elgg logout action
+ *
+ * @package Elgg
+ * @subpackage Core
+
+ * @author Curverider Ltd
+
+ * @link http://elgg.org/
+ */
+
+ // Log out
+ $result = logout();
+
+ // Set the system_message as appropriate
+
+ if ($result) {
+ system_message(elgg_echo('logoutok'));
+ } else {
+ register_error(elgg_echo('logouterror'));
+ }
- * @link http://elgg.org/
- */
-
- // Log out
- $result = logout();
-
- // 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