From fab22ac14cb8116006b11cb2bcfe0337daaa2138 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 2 Mar 2020 17:47:48 +0100 Subject: pass the existing locks info when making locked exception with absolute paths Signed-off-by: Robin Appelman --- apps/dav/lib/Connector/Sabre/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/dav/lib/Connector/Sabre/File.php') 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); } -- cgit v1.2.3