]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/unsubscribe.php
don't override show() in SingleNoticeItem
[quix0rs-gnu-social.git] / actions / unsubscribe.php
index 8f90619f642c179386f9ee4830d1b16b4a89d819..ba9ecd8f00e5d46b3409181f89dc5bfcb4201995 100644 (file)
@@ -48,7 +48,7 @@ class UnsubscribeAction extends Action
     {
         parent::handle($args);
         if (!common_logged_in()) {
-            // TRANS: Client error displayed when trying to unsubscribe while not logged in.
+            // TRANS: Error message displayed when trying to perform an action that requires a logged in user.
             $this->clientError(_('Not logged in.'));
             return;
         }
@@ -66,6 +66,7 @@ class UnsubscribeAction extends Action
         $token = $this->trimmed('token');
 
         if (!$token || $token != common_session_token()) {
+            // TRANS: Client error displayed when the session token does not match or is not given.
             $this->clientError(_('There was a problem with your session token. ' .
                                  'Try again, please.'));
             return;