mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #34563 from nextcloud/debt/noid/carddav-too-many-arguments
Fix TooManyArguments warning for carddav.php
This commit is contained in:
commit
44d2eb8b4e
2 changed files with 1 additions and 4 deletions
|
|
@ -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());
|
||||
|
|
|
|||
|
|
@ -60,9 +60,6 @@
|
|||
</UndefinedGlobalVariable>
|
||||
</file>
|
||||
<file src="apps/dav/appinfo/v1/carddav.php">
|
||||
<TooManyArguments occurrences="1">
|
||||
<code>new \Sabre\DAV\Auth\Plugin($authBackend, 'ownCloud')</code>
|
||||
</TooManyArguments>
|
||||
<UndefinedGlobalVariable occurrences="1">
|
||||
<code>$baseuri</code>
|
||||
</UndefinedGlobalVariable>
|
||||
|
|
|
|||
Loading…
Reference in a new issue