summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2022-10-12 19:39:07 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2022-10-16 18:37:22 +0200
commit1818be71ae724465ea435a61bf548dff630913f8 (patch)
tree2a980e1d1a89a40036cf8f07f624f7f65b75c3ba /apps/dav/appinfo
parentb054662d9663382c33a89f7bf5e92091dde8d3fb (diff)
downloadnextcloud-server-1818be71ae724465ea435a61bf548dff630913f8.tar.gz
nextcloud-server-1818be71ae724465ea435a61bf548dff630913f8.zip
Fix TooManyArguments warning for carddav.php
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r--apps/dav/appinfo/v1/carddav.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/appinfo/v1/carddav.php b/apps/dav/appinfo/v1/carddav.php
index 293ae4293d4..2b3001e80bd 100644
--- a/apps/dav/appinfo/v1/carddav.php
+++ b/apps/dav/appinfo/v1/carddav.php
@@ -87,7 +87,7 @@ $server->httpRequest->setUrl(\OC::$server->getRequest()->getRequestUri());
$server->setBaseUri($baseuri);
// Add plugins
$server->addPlugin(new MaintenancePlugin(\OC::$server->getConfig(), \OC::$server->getL10N('dav')));
-$server->addPlugin(new \Sabre\DAV\Auth\Plugin($authBackend, 'ownCloud'));
+$server->addPlugin(new \Sabre\DAV\Auth\Plugin($authBackend));
$server->addPlugin(new Plugin());
$server->addPlugin(new LegacyDAVACL());