From db6eb85ad2f2867c43bce7132ad41893cb16693c Mon Sep 17 00:00:00 2001
From: vkuimov <vkuimov@nextcloud>
Date: Sat, 25 Feb 2017 16:12:53 +0000
Subject: [PATCH] don't setted status when file is lock

---
 apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php b/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php
index c330e5d203a..2fb49ef00f7 100644
--- a/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php
@@ -137,6 +137,7 @@ class FakeLockerPlugin extends ServerPlugin {
 		]);
 
 		$response->setBody($body);
+		$response->setStatus(200);
 
 		return false;
 	}
-- 
GitLab