From 270a10b7545ba8fdf8d8736ae6b967929875cfdd Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Fri, 29 May 2015 11:24:06 +0200 Subject: Return 423 instead of 503 for locked files --- lib/private/connector/sabre/exception/filelocked.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/connector/sabre/exception/filelocked.php b/lib/private/connector/sabre/exception/filelocked.php index 2405059bfb1..1657a7ae376 100644 --- a/lib/private/connector/sabre/exception/filelocked.php +++ b/lib/private/connector/sabre/exception/filelocked.php @@ -42,6 +42,6 @@ class FileLocked extends \Sabre\DAV\Exception { */ public function getHTTPCode() { - return 503; + return 423; } } -- cgit v1.2.3