- $oprofile = $this->ensureProfile();
- if (!$oprofile instanceof Ostatus_profile) {
- // TRANS: Client error displayed when trying to unsubscribe from non-existing list.
- $this->clientError(_m('Cannot read profile to cancel list subscription.'));
- }
- if ($oprofile->isGroup()) {