also fix lock order for chunked dav uploads

This commit is contained in:
Robin Appelman 2016-02-10 16:31:32 +01:00
parent 65554ec333
commit bef70e9448
1 changed files with 2 additions and 2 deletions

View File

@ -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);