From 2ee659e54787c938e57787261442ad4037270322 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 13 Jun 2022 12:48:35 +0200 Subject: Fix view-only code after code review comments Signed-off-by: Vincent Petry --- apps/dav/lib/Connector/Sabre/ServerFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/dav/lib/Connector') diff --git a/apps/dav/lib/Connector/Sabre/ServerFactory.php b/apps/dav/lib/Connector/Sabre/ServerFactory.php index 5b9471d537c..4c57f3412e3 100644 --- a/apps/dav/lib/Connector/Sabre/ServerFactory.php +++ b/apps/dav/lib/Connector/Sabre/ServerFactory.php @@ -161,7 +161,7 @@ class ServerFactory { // Allow view-only plugin for webdav requests $server->addPlugin(new ViewOnlyPlugin( - \OC::$server->getLogger() + $this->logger )); if ($this->userSession->isLoggedIn()) { -- cgit v1.2.3