New dav endpoint register tags plugin

This makes it possible to retrieve and PROPPATCH the favorite info

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Vincent Petry 2016-09-12 16:20:49 +02:00 committed by Roeland Jago Douma
parent 66ae43880b
commit 5d25563634
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
1 changed files with 6 additions and 0 deletions

View File

@ -47,6 +47,7 @@ use OCP\IRequest;
use OCP\SabrePluginEvent;
use Sabre\CardDAV\VCFExportPlugin;
use Sabre\DAV\Auth\Plugin;
use OCA\DAV\Connector\Sabre\TagsPlugin;
class Server {
@ -190,6 +191,11 @@ class Server {
$this->server->addPlugin(
new QuotaPlugin($view)
);
$this->server->addPlugin(
new TagsPlugin(
$this->server->tree, \OC::$server->getTagManager()
)
);
}
});
}