X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Flogout.php;h=8e903db22119ae8f69fb813fbb6bf8bff415d8ed;hb=471a4805871c44ad8770342ca8ca05536068dc85;hp=1e0adae57592a536bdaf7b6bbf3eb7ae60959f14;hpb=fc682ecede72680bad849ea1cf159fdf2ec70898;p=quix0rs-gnu-social.git diff --git a/actions/logout.php b/actions/logout.php index 1e0adae575..8e903db221 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: Client error displayed trying to log out when not logged in. $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! } - }