diff options
Diffstat (limited to 'actions/logout.php')
-rw-r--r-- | actions/logout.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/logout.php b/actions/logout.php index 201378730..86d6270ab 100644 --- a/actions/logout.php +++ b/actions/logout.php @@ -24,7 +24,7 @@ require_once(INSTALLDIR.'/lib/openid.php'); class LogoutAction extends Action { - function is_readonly() + function isReadOnly() { return true; } @@ -33,7 +33,7 @@ class LogoutAction extends Action { parent::handle($args); if (!common_logged_in()) { - common_user_error(_('Not logged in.')); + $this->clientError(_('Not logged in.')); } else { common_set_user(null); common_real_login(false); # not logged in |