summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/logout.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/logout.php b/actions/logout.php
index 9cdda52d8..c4d0bd4e7 100644
--- a/actions/logout.php
+++ b/actions/logout.php
@@ -27,8 +27,8 @@ class LogoutAction extends Action {
if (!common_logged_in()) {
common_user_error(_t('Not logged in.'));
} else {
- common_set_user(NULL);
oid_clear_last();
+ common_set_user(NULL);
common_redirect(common_local_url('public'));
}
}