aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/connector/sabre/exception
diff options
context:
space:
mode:
authorringmaster <epithet@gmail.com>2014-05-30 08:10:48 -0400
committerThomas Müller <thomas.mueller@tmit.eu>2014-06-04 07:55:45 +0200
commitcda87fd9c4e9d60bb20a9e4b80db5951dccc00e2 (patch)
tree8770ed247645e5e1c458e73cb64e2fb84fbca5a6 /lib/private/connector/sabre/exception
parente6712bc12e6e57fd656a64f870243ee2aff4f10c (diff)
downloadnextcloud-server-cda87fd9c4e9d60bb20a9e4b80db5951dccc00e2.tar.gz
nextcloud-server-cda87fd9c4e9d60bb20a9e4b80db5951dccc00e2.zip
Normalize lock exception messages.
Diffstat (limited to 'lib/private/connector/sabre/exception')
-rw-r--r--lib/private/connector/sabre/exception/filelocked.php2
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 4bad936bd9f..ec200f847e3 100644
--- a/lib/private/connector/sabre/exception/filelocked.php
+++ b/lib/private/connector/sabre/exception/filelocked.php
@@ -11,7 +11,7 @@ class OC_Connector_Sabre_Exception_FileLocked extends Sabre_DAV_Exception {
public function __construct($message = "", $code = 0, Exception $previous = null) {
if($previous instanceof \OCP\Files\LockNotAcquiredException) {
- $message = sprintf('Target file %s is locked by another process. %s', $previous->path, $previous->getMessage());
+ $message = sprintf('Target file %s is locked by another process.', $previous->path);
}
parent::__construct($message, $code, $previous);
}