Changeset View
Changeset View
Standalone View
Standalone View
plugins/calendar/drivers/kolab/kolab_driver.php
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | public function __construct($cal) | ||||
$this->rc = $cal->rc; | $this->rc = $cal->rc; | ||||
$this->storage = new kolab_storage(); | $this->storage = new kolab_storage(); | ||||
$this->cal->register_action('push-freebusy', [$this, 'push_freebusy']); | $this->cal->register_action('push-freebusy', [$this, 'push_freebusy']); | ||||
$this->cal->register_action('calendar-acl', [$this, 'calendar_acl']); | $this->cal->register_action('calendar-acl', [$this, 'calendar_acl']); | ||||
$this->freebusy_trigger = $this->rc->config->get('calendar_freebusy_trigger', false); | $this->freebusy_trigger = $this->rc->config->get('calendar_freebusy_trigger', false); | ||||
if (!$this->rc->config->get('kolab_freebusy_server', false)) { | |||||
$this->freebusy = false; | |||||
} | |||||
if (kolab_storage::$version == '2.0') { | if (kolab_storage::$version == '2.0') { | ||||
$this->alarm_types = ['DISPLAY']; | $this->alarm_types = ['DISPLAY']; | ||||
$this->alarm_absolute = false; | $this->alarm_absolute = false; | ||||
} | } | ||||
// get configuration for the Bonnie API | // get configuration for the Bonnie API | ||||
$this->bonnie_api = libkolab::get_bonnie_api(); | $this->bonnie_api = libkolab::get_bonnie_api(); | ||||
▲ Show 20 Lines • Show All 2,570 Lines • Show Last 20 Lines |