summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2022-10-17 13:26:32 +0200
committerGitHub <noreply@github.com>2022-10-17 13:26:32 +0200
commite12df7941ea8c26981eaffe2a004b330f5b728f6 (patch)
treeb6011b6881248f14a53cbb0066da5071c10f156f /apps/dav/lib
parentbca2720c1ba39c6a4d81a0392d1f77b40ab23d94 (diff)
parent934e75384cc87edf6bd763454aa917b6b36b81ef (diff)
downloadnextcloud-server-e12df7941ea8c26981eaffe2a004b330f5b728f6.tar.gz
nextcloud-server-e12df7941ea8c26981eaffe2a004b330f5b728f6.zip
Merge pull request #34565 from nextcloud/debt/noid/fakelocker-too-many-arguments
Fix TooManyArguments for FakeLockerPlugin
Diffstat (limited to 'apps/dav/lib')
-rw-r--r--apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php b/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php
index d05cd6d2e6d..7209450745c 100644
--- a/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php
@@ -90,7 +90,7 @@ class FakeLockerPlugin extends ServerPlugin {
*/
public function propFind(PropFind $propFind, INode $node) {
$propFind->handle('{DAV:}supportedlock', function () {
- return new SupportedLock(true);
+ return new SupportedLock();
});
$propFind->handle('{DAV:}lockdiscovery', function () use ($propFind) {
return new LockDiscovery([]);