diff options
author | Robin Appelman <robin@icewind.nl> | 2020-03-02 17:47:48 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2020-03-02 19:29:44 +0100 |
commit | fab22ac14cb8116006b11cb2bcfe0337daaa2138 (patch) | |
tree | cbee43b264dbd6c783b6be75b4a401c5922c2350 /apps/dav/lib/Connector | |
parent | 64a29d01a492db19289833ba9f485b7dca881cef (diff) | |
download | nextcloud-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.php | 2 |
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); } |