diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-17 15:54:49 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-17 15:54:49 -0400 |
commit | a0bdc80053ce3b1d908aad6ab4a462b44b504e0c (patch) | |
tree | b2217598ccfd76855e0109d2778db63c08ee5636 /actions/logout.php | |
parent | 466f0489c364441c125dffe6c9040bf6fcafd043 (diff) |
go to public timeline on logout and handle missing user more gracefully
darcs-hash:20080517195449-84dde-d08f3cad4fb79cdf81ef40f79aa30a29c9ddd9a7.gz
Diffstat (limited to 'actions/logout.php')
-rw-r--r-- | actions/logout.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/logout.php b/actions/logout.php index b2f0628f2..053130b9f 100644 --- a/actions/logout.php +++ b/actions/logout.php @@ -26,7 +26,7 @@ class LogoutAction extends Action { common_user_error(_t('Not logged in.')); } else { common_set_user(NULL); - common_redirect(common_local_url('main')); + common_redirect(common_local_url('public')); } } } |