diff options
author | Joas Schilling <coding@schilljs.com> | 2016-10-06 11:13:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-06 11:13:48 +0200 |
commit | f6e8da186d16dd2d9898f1ac2920622f3943cbb7 (patch) | |
tree | 39493b6e2fa43b68323591c7d651827247439896 /apps/dav | |
parent | ea9b1cc3409f39c545505bbcddb7a20fda114c0e (diff) | |
parent | 09a90b40002d1ee798b7012639c1c2ece81ebe7c (diff) | |
download | nextcloud-server-f6e8da186d16dd2d9898f1ac2920622f3943cbb7.tar.gz nextcloud-server-f6e8da186d16dd2d9898f1ac2920622f3943cbb7.zip |
Merge pull request #1525 from nextcloud/newdav-tagsplugin
Newdav tagsplugin
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/lib/Server.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php index c49df197a89..a06d4c570f6 100644 --- a/apps/dav/lib/Server.php +++ b/apps/dav/lib/Server.php @@ -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() + ) + ); } }); } |