Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2020-03-02 19:47:48 +0300
committerRobin Appelman <robin@icewind.nl>2020-03-02 21:29:44 +0300
commitfab22ac14cb8116006b11cb2bcfe0337daaa2138 (patch)
treecbee43b264dbd6c783b6be75b4a401c5922c2350 /apps/dav/lib/Connector/Sabre/File.php
parent64a29d01a492db19289833ba9f485b7dca881cef (diff)
pass the existing locks info when making locked exception with absolute paths
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/File.php')
-rw-r--r--apps/dav/lib/Connector/Sabre/File.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/File.php b/apps/dav/lib/Connector/Sabre/File.php
index a1f5e2fe876..098961ce130 100644
--- a/apps/dav/lib/Connector/Sabre/File.php
+++ b/apps/dav/lib/Connector/Sabre/File.php
@@ -263,7 +263,7 @@ class File extends Node implements IFile {
try {
$this->acquireLock(ILockingProvider::LOCK_EXCLUSIVE);
- } catch (LockedException $e) {
+ } catch (LockedException $ex) {
if ($needsPartFile) {
$partStorage->unlink($internalPartPath);
}