diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-05-29 11:24:06 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-06-01 13:24:02 +0200 |
commit | 270a10b7545ba8fdf8d8736ae6b967929875cfdd (patch) | |
tree | 64fd4a22d18d776f8f8397be23f5913f581f9b57 /lib | |
parent | 0451a6652d7dcac3887bdf760593482eaa19e681 (diff) | |
download | nextcloud-server-270a10b7545ba8fdf8d8736ae6b967929875cfdd.tar.gz nextcloud-server-270a10b7545ba8fdf8d8736ae6b967929875cfdd.zip |
Return 423 instead of 503 for locked files
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/connector/sabre/exception/filelocked.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |