Add 'calendar_rsvp_actions' option
This commit is contained in:
parent
dae51e28a1
commit
79db2b2c45
1 changed files with 5 additions and 1 deletions
|
@ -273,9 +273,13 @@ class calendar extends rcube_plugin
|
||||||
|
|
||||||
$this->itip = new calendar_itip($this);
|
$this->itip = new calendar_itip($this);
|
||||||
|
|
||||||
|
$rsvp_actions = ['accepted','tentative','declined','delegated'];
|
||||||
|
|
||||||
if ($this->rc->config->get('kolab_invitation_calendars')) {
|
if ($this->rc->config->get('kolab_invitation_calendars')) {
|
||||||
$this->itip->set_rsvp_actions(['accepted','tentative','declined','delegated','needs-action']);
|
$rsvp_actions[] = 'needs-action';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->itip->set_rsvp_actions($this->rc->config->get('calendar_rsvp_actions', $rsvp_actions));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->itip;
|
return $this->itip;
|
||||||
|
|
Loading…
Add table
Reference in a new issue