*/
class LogoutAction extends Action
{
-
/**
* This is read only.
*
{
parent::handle($args);
if (!common_logged_in()) {
+ // TRANS: Error message displayed when trying to perform an action that requires a logged in user.
$this->clientError(_('Not logged in.'));
} else {
if (Event::handle('StartLogout', array($this))) {
common_real_login(false); // not logged in
common_forgetme(); // don't log back in!
}
-
}