Adding CardDAV plugin to provide addressbook-home-set property

This commit is contained in:
Thomas Müller 2015-11-10 07:27:34 +01:00
parent baacb2cd30
commit e0f2b86177
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@ class Server {
$this->server->addPlugin(new \Sabre\DAVACL\Plugin());
$this->server->addPlugin(new \Sabre\CardDAV\Plugin());
// wait with registering these until auth is handled and the filesystem is setup
$this->server->on('beforeMethod', function () {
// custom properties plugin must be the last one