}
}
- $profile = $this->ensureProfile();
$this->saveNotice();
}
*/
function handleLeave()
{
- // ensureProfile throws exception on failure
if ($this->oprofile->isGroup()) {
// TRANS: Client error displayed when trying to have a group join another group.
throw new AlreadyFulfilledException(_m('Groups cannot be members of groups'));
function saveNotice()
{
- $oprofile = $this->ensureProfile();
- return $oprofile->processPost($this->activity, 'salmon');
+ return $this->oprofile->processPost($this->activity, 'salmon');
}
}