X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Flogout.php;h=f747371225587a4b85099b6677bc8879e9c97556;hb=65bf58be806d19bc7fe962c0824160deab07d5c3;hp=7e768fca632d30acd8a77defcd055a21f8d4955c;hpb=691beefd0f3755bab195279b1c0d7cc583942b72;p=quix0rs-gnu-social.git diff --git a/actions/logout.php b/actions/logout.php index 7e768fca63..f747371225 100644 --- a/actions/logout.php +++ b/actions/logout.php @@ -66,6 +66,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))) { @@ -81,7 +82,6 @@ class LogoutAction extends Action { 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! } - }