*/
class LogoutAction extends Action
{
-
/**
* This is read only.
*
{
parent::handle($args);
if (!common_logged_in()) {
+ // TRANS: Client error displayed trying to log out when not logged in.
$this->clientError(_('Not logged in.'));
} else {
if (Event::handle('StartLogout', array($this))) {
{
common_set_user(null);
common_real_login(false); // not logged in
- common_forgetme(); // do not log back in!
+ common_forgetme(); // don't log back in!
}
-
}