mirror of
https://github.com/nextcloud/server.git
synced 2026-04-29 18:11:41 -04:00
also fix lock order for chunked dav uploads
This commit is contained in:
parent
65554ec333
commit
bef70e9448
1 changed files with 2 additions and 2 deletions
|
|
@ -450,11 +450,11 @@ class File extends Node implements IFile {
|
|||
}
|
||||
}
|
||||
|
||||
$this->fileView->changeLock($targetPath, ILockingProvider::LOCK_SHARED);
|
||||
|
||||
// since we skipped the view we need to scan and emit the hooks ourselves
|
||||
$targetStorage->getUpdater()->update($targetInternalPath);
|
||||
|
||||
$this->fileView->changeLock($targetPath, ILockingProvider::LOCK_SHARED);
|
||||
|
||||
$this->emitPostHooks($exists, $targetPath);
|
||||
|
||||
$info = $this->fileView->getFileInfo($targetPath);
|
||||
|
|
|
|||
Loading…
Reference in a new issue