From: Daniel Kesselberg Date: Wed, 12 Oct 2022 17:39:07 +0000 (+0200) Subject: Fix TooManyArguments warning for carddav.php X-Git-Tag: v26.0.0beta1~575^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1818be71ae724465ea435a61bf548dff630913f8;p=nextcloud-server.git Fix TooManyArguments warning for carddav.php Signed-off-by: Daniel Kesselberg --- 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()); diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index ec96d584379..a29623e9a0f 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -60,9 +60,6 @@ - - new \Sabre\DAV\Auth\Plugin($authBackend, 'ownCloud') - $baseuri