X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Flogout.php;h=567d808cd1f7e38863f77d1087dc8cc68758f7b9;hb=831eaa039bc5b70532bc556ee47a45ebd03ac5de;hp=1e0adae57592a536bdaf7b6bbf3eb7ae60959f14;hpb=c5047fd90ac8f6f057780a34065e320883c7a31f;p=quix0rs-gnu-social.git diff --git a/actions/logout.php b/actions/logout.php index 1e0adae575..567d808cd1 100644 --- a/actions/logout.php +++ b/actions/logout.php @@ -44,7 +44,6 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { */ class LogoutAction extends Action { - /** * This is read only. * @@ -66,6 +65,7 @@ class LogoutAction extends Action { 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))) { @@ -83,5 +83,4 @@ class LogoutAction extends Action common_real_login(false); // not logged in common_forgetme(); // don't log back in! } - }