mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Fix TooManyArguments warning for carddav.php
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
b054662d96
commit
1818be71ae
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