summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-03-07 17:31:32 +0100
committerJoas Schilling <coding@schilljs.com>2017-03-07 17:31:32 +0100
commitd228acabf60d9bcbe043e4022f74c2b553e156a9 (patch)
treeaa7ff908c235e078d98770eda1af33cb5fc8210b /apps/dav
parenta94f9d8d947d1d7207bf64a18023a9d4deb08ec2 (diff)
downloadnextcloud-server-d228acabf60d9bcbe043e4022f74c2b553e156a9.tar.gz
nextcloud-server-d228acabf60d9bcbe043e4022f74c2b553e156a9.zip
Set a status code when setting a body
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php b/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php
index c330e5d203a..eb490851fcb 100644
--- a/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php
@@ -136,6 +136,7 @@ class FakeLockerPlugin extends ServerPlugin {
new LockDiscovery([$lockInfo])
]);
+ $response->setStatus(200);
$response->setBody($body);
return false;