aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Server.php
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-06-13 12:48:35 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-07-28 16:53:24 +0200
commit2ee659e54787c938e57787261442ad4037270322 (patch)
treeddc2a94bb966c5790bf14eb31ecc1d73d20fc951 /apps/dav/lib/Server.php
parent2fb7a1feebb6b8a2c524c75e688cec00d4e3d50e (diff)
downloadnextcloud-server-2ee659e54787c938e57787261442ad4037270322.tar.gz
nextcloud-server-2ee659e54787c938e57787261442ad4037270322.zip
Fix view-only code after code review comments
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/dav/lib/Server.php')
-rw-r--r--apps/dav/lib/Server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php
index 5c83e5c2963..2cfcb3f5393 100644
--- a/apps/dav/lib/Server.php
+++ b/apps/dav/lib/Server.php
@@ -232,7 +232,7 @@ class Server {
// Allow view-only plugin for webdav requests
$this->server->addPlugin(new ViewOnlyPlugin(
- \OC::$server->getLogger()
+ $logger
));
if (BrowserErrorPagePlugin::isBrowserRequest($request)) {