X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fblock.php;h=7458caa6ac73200ea50e2be58c3fd97c2f9ac839;hb=cd3cff451f2ac12ebe1b98c6ab643a0e4e931599;hp=f195fb5a88ffc8663373feccf94898c6811b4253;hpb=0291c6f7cd07cfb6845215ab33f8a56b417c0d1c;p=quix0rs-gnu-social.git diff --git a/actions/block.php b/actions/block.php index f195fb5a88..7458caa6ac 100644 --- a/actions/block.php +++ b/actions/block.php @@ -66,7 +66,6 @@ class BlockAction extends ProfileFormAction if ($cur->hasBlocked($this->profile)) { // TRANS: Client error displayed when blocking a user that has already been blocked. $this->clientError(_('You already blocked that user.')); - return false; } return true; @@ -187,7 +186,6 @@ class BlockAction extends ProfileFormAction if (!$result) { // TRANS: Server error displayed when blocking a user fails. $this->serverError(_('Failed to save block information.')); - return; } }