+
+ $this->approve = (bool)$this->arg('approve');
+ $this->cancel = (bool)$this->arg('cancel');
+ if (!$this->approve && !$this->cancel) {
+ // TRANS: Client error displayed trying to approve/deny group membership.
+ $this->clientError(_('Internal error: received neither cancel nor abort.'));
+ }
+ if ($this->approve && $this->cancel) {
+ // TRANS: Client error displayed trying to approve/deny group membership.
+ $this->clientError(_('Internal error: received both cancel and abort.'));
+ }