- parent::prepare($args);
-
- $id = $this->arg('id');
-
- if (!$id) {
- $this->clientError(_('No ID.'));
- return false;
- }
-
- common_debug("Got ID $id");
-
- $this->group = User_group::staticGet('id', $id);
-
- if (!$this->group) {
- $this->clientError(_('No such group.'), 404);
- return false;
- }
-
- return true;