Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-06-13 13:48:35 +0300
committerCarl Schwan <carl@carlschwan.eu>2022-07-28 17:53:24 +0300
commit2ee659e54787c938e57787261442ad4037270322 (patch)
treeddc2a94bb966c5790bf14eb31ecc1d73d20fc951 /apps/dav/lib/Connector
parent2fb7a1feebb6b8a2c524c75e688cec00d4e3d50e (diff)
Fix view-only code after code review comments
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/dav/lib/Connector')
-rw-r--r--apps/dav/lib/Connector/Sabre/ServerFactory.php2
1 files changed, 1 insertions, 1 deletions
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()) {