Changeset View
Changeset View
Standalone View
Standalone View
plugins/calendar/drivers/caldav/caldav_driver.php
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | public function __construct($cal) | ||||
$url = $this->rc->config->get('calendar_caldav_server', 'http://localhost'); | $url = $this->rc->config->get('calendar_caldav_server', 'http://localhost'); | ||||
$this->storage = new kolab_storage_dav($url); | $this->storage = new kolab_storage_dav($url); | ||||
$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; | |||||
} | |||||
// TODO: get configuration for the Bonnie API | // TODO: get configuration for the Bonnie API | ||||
// $this->bonnie_api = libkolab::get_bonnie_api(); | // $this->bonnie_api = libkolab::get_bonnie_api(); | ||||
} | } | ||||
/** | /** | ||||
* Read available calendars from server | * Read available calendars from server | ||||
*/ | */ | ||||
protected function _read_calendars() | protected function _read_calendars() | ||||
▲ Show 20 Lines • Show All 536 Lines • Show Last 20 Lines |