X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fblock.php;h=53d8ae7ae0600c17a800cfc5e927a7efd40facfd;hb=fb4b004435403dd0d4126a0c11c9fa5c557e9dba;hp=f195fb5a88ffc8663373feccf94898c6811b4253;hpb=b7d07466943a73e1c009467c8daa6e499810080f;p=quix0rs-gnu-social.git diff --git a/actions/block.php b/actions/block.php index f195fb5a88..53d8ae7ae0 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; @@ -75,8 +74,6 @@ class BlockAction extends ProfileFormAction /** * Handle request * - * Shows a page with list of favorite notices - * * @param array $args $_REQUEST args; handled in prepare() * * @return void @@ -187,7 +184,6 @@ class BlockAction extends ProfileFormAction if (!$result) { // TRANS: Server error displayed when blocking a user fails. $this->serverError(_('Failed to save block information.')); - return; } }