X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fblockedfromgroup.php;h=a2e7c5767f64be9610681f638be8ef899140ff0a;hb=06f60b57c10c37fe6114ff09949b187e4cb2c964;hp=a00c12ef583c755e883775485ec13d95369a2102;hpb=c0f65f6ea76ffa035cbf2c4126bedaae9d8752c8;p=quix0rs-gnu-social.git diff --git a/actions/blockedfromgroup.php b/actions/blockedfromgroup.php index a00c12ef58..a2e7c5767f 100644 --- a/actions/blockedfromgroup.php +++ b/actions/blockedfromgroup.php @@ -65,13 +65,11 @@ class BlockedfromgroupAction extends GroupAction $args['page'] = $this->page; } common_redirect(common_local_url('blockedfromgroup', $args), 301); - return false; } if (!$nickname) { // TRANS: Client error displayed when requesting a list of blocked users for a group without providing a group nickname. $this->clientError(_('No nickname.'), 404); - return false; } $local = Local_group::getKV('nickname', $nickname); @@ -79,7 +77,6 @@ class BlockedfromgroupAction extends GroupAction if (!$local) { // TRANS: Client error displayed when requesting a list of blocked users for a non-local group. $this->clientError(_('No such group.'), 404); - return false; } $this->group = User_group::getKV('id', $local->group_id); @@ -87,7 +84,6 @@ class BlockedfromgroupAction extends GroupAction if (!$this->group) { // TRANS: Client error displayed when requesting a list of blocked users for a non-existing group. $this->clientError(_('No such group.'), 404); - return false; } return true;