*/
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.
+ // 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))) {