diff options
author | Robin Appelman <robin@icewind.nl> | 2023-04-17 16:10:41 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-04-28 10:46:38 +0200 |
commit | 74ced3d2eb3952799a968bc08c28abb51c1542d8 (patch) | |
tree | 8ec9cb325d441d7a20fd8f69d707d5d9e7c70cdf /apps/dav/lib/Server.php | |
parent | a9798a359a2e3739fa86e28dcaf647aa61a1620d (diff) | |
download | nextcloud-server-74ced3d2eb3952799a968bc08c28abb51c1542d8.tar.gz nextcloud-server-74ced3d2eb3952799a968bc08c28abb51c1542d8.zip |
expose system tags as dav property for files
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/dav/lib/Server.php')
-rw-r--r-- | apps/dav/lib/Server.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php index 4be149ac440..909bcaa71e8 100644 --- a/apps/dav/lib/Server.php +++ b/apps/dav/lib/Server.php @@ -208,11 +208,7 @@ class Server { } // system tags plugins - $this->server->addPlugin(new SystemTagPlugin( - \OC::$server->getSystemTagManager(), - \OC::$server->getGroupManager(), - \OC::$server->getUserSession() - )); + $this->server->addPlugin(\OC::$server->get(SystemTagPlugin::class)); // comments plugin $this->server->addPlugin(new CommentsPlugin( |