]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/unblock.php
shortenLinks with a capital L
[quix0rs-gnu-social.git] / actions / unblock.php
index 1f4d9606b85a7da875dc6ccf030feab2bc72c1ca..82d0d32c109149f3e732754c3bfffb61fd9e0121 100644 (file)
@@ -57,7 +57,6 @@ class UnblockAction extends ProfileFormAction
         if (!$cur->hasBlocked($this->profile)) {
             // TRANS: Client error displayed when trying to unblock a non-blocked user.
             $this->clientError(_("You haven't blocked that user."));
-            return false;
         }
 
         return true;
@@ -84,7 +83,6 @@ class UnblockAction extends ProfileFormAction
         if (!$result) {
             // TRANS: Server error displayed when removing a user block.
             $this->serverError(_('Error removing the block.'));
-            return;
         }
     }
 }