[Pkg-owncloud-commits] [owncloud] 230/457: Return 423 instead of 503 for locked files

David Prévot taffit at moszumanska.debian.org
Sun Jun 28 20:06:13 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 270a10b7545ba8fdf8d8736ae6b967929875cfdd
Author: Vincent Petry <pvince81 at owncloud.com>
Date:   Fri May 29 11:24:06 2015 +0200

    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 2405059..1657a7a 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;
 	}
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list