X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Funblock.php;h=82d0d32c109149f3e732754c3bfffb61fd9e0121;hb=ad49158fb51a954c3b92ae6d42ac3e38ac7e539c;hp=1f4d9606b85a7da875dc6ccf030feab2bc72c1ca;hpb=2e1c7c779d7d7a12529efdb42437fbc063475ba6;p=quix0rs-gnu-social.git diff --git a/actions/unblock.php b/actions/unblock.php index 1f4d9606b8..82d0d32c10 100644 --- a/actions/unblock.php +++ b/actions/unblock.php @@ -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; } } }