From 1818be71ae724465ea435a61bf548dff630913f8 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Wed, 12 Oct 2022 19:39:07 +0200 Subject: Fix TooManyArguments warning for carddav.php Signed-off-by: Daniel Kesselberg --- apps/dav/appinfo/v1/carddav.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/dav/appinfo') 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()); -- cgit v1.2.3