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:
parent
66ae43880b
commit
5d25563634
|
@ -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()
|
||||
)
|
||||
);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue