diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2022-10-12 20:17:00 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2022-10-14 15:06:38 +0200 |
commit | 934e75384cc87edf6bd763454aa917b6b36b81ef (patch) | |
tree | 05bebbae7e9cdf4ce78ae3edce682ee1cb95be0d /apps/dav/lib | |
parent | 2cef188b41fd544cbcfe8d279c0afbf6cf4b5a10 (diff) | |
download | nextcloud-server-934e75384cc87edf6bd763454aa917b6b36b81ef.tar.gz nextcloud-server-934e75384cc87edf6bd763454aa917b6b36b81ef.zip |
Fix TooManyArguments for FakeLockerPlugin
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'apps/dav/lib')
-rw-r--r-- | apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php | 2 |
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([]); |