aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2020-03-02 17:47:48 +0100
committerRobin Appelman <robin@icewind.nl>2020-03-02 19:29:44 +0100
commitfab22ac14cb8116006b11cb2bcfe0337daaa2138 (patch)
treecbee43b264dbd6c783b6be75b4a401c5922c2350 /apps/dav/lib/Connector
parent64a29d01a492db19289833ba9f485b7dca881cef (diff)
downloadnextcloud-server-fab22ac14cb8116006b11cb2bcfe0337daaa2138.tar.gz
nextcloud-server-fab22ac14cb8116006b11cb2bcfe0337daaa2138.zip
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')
-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);
}