X Tutup
Skip to content

Commit 17178bf

Browse files
committed
The response of LOCK shall hold the updated owner set by the LockManager
1 parent 6cac52e commit 17178bf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

apps/dav/lib/Files/FileLocksBackend.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ public function lock($uri, Locks\LockInfo $lockInfo) {
192192

193193
// in case the timeout has not been accepted, adjust in lock info
194194
$lockInfo->timeout = $lock->getTimeout();
195+
$lockInfo->owner = $lock->getOwner();
195196

196197
return !empty($lock);
197198
}

changelog/unreleased/37460

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
Change: Add file action to lock a file
22

33
https://github.com/owncloud/core/pull/37460
4+
https://github.com/owncloud/core/pull/37647

0 commit comments

Comments
 (0)
X Tutup