}
}
- $profile = $this->ensureProfile();
- $this->saveNotice();
+ try {
+ $this->saveNotice();
+ } catch (AlreadyFulfilledException $e) {
+ return;
+ }
}
/**
*/
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'));