X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fgroupbyid.php;h=5af7109cb4074c3da2670cec4fabb7384a870e4a;hb=d5f86f7a8a113991f050425e411287da4f738ca2;hp=52cfaddfc3298d7a520235e31ca9001146a7765e;hpb=bbb830e14c718c687f0636710a1827c90b11f4cc;p=quix0rs-gnu-social.git diff --git a/actions/groupbyid.php b/actions/groupbyid.php index 52cfaddfc3..5af7109cb4 100644 --- a/actions/groupbyid.php +++ b/actions/groupbyid.php @@ -68,15 +68,10 @@ class GroupbyidAction extends Action { parent::prepare($args); - if (!common_config('inboxes','enabled')) { - $this->serverError(_('Inboxes must be enabled for groups to work')); - return false; - } - $id = $this->arg('id'); if (!$id) { - $this->clientError(_('No ID')); + $this->clientError(_('No ID.')); return false; } @@ -85,7 +80,7 @@ class GroupbyidAction extends Action $this->group = User_group::staticGet('id', $id); if (!$this->group) { - $this->clientError(_('No such group'), 404); + $this->clientError(_('No such group.'), 404); return false; }