diff options
author | Robin Appelman <icewind@owncloud.com> | 2016-02-10 16:31:32 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2016-02-10 16:31:32 +0100 |
commit | bef70e9448931cf8229f26f2aed0579340089e9d (patch) | |
tree | 57156f26b53d88b4b88cbae565c4d4ce0e201d71 /apps/dav/lib/connector | |
parent | 65554ec33339ce5b0938c5fa94a76c9e1f0affce (diff) | |
download | nextcloud-server-bef70e9448931cf8229f26f2aed0579340089e9d.tar.gz nextcloud-server-bef70e9448931cf8229f26f2aed0579340089e9d.zip |
also fix lock order for chunked dav uploads
Diffstat (limited to 'apps/dav/lib/connector')
-rw-r--r-- | apps/dav/lib/connector/sabre/file.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/connector/sabre/file.php b/apps/dav/lib/connector/sabre/file.php index 9b753c01f60..38a1ee5f4e2 100644 --- a/apps/dav/lib/connector/sabre/file.php +++ b/apps/dav/lib/connector/sabre/file.php @@ -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); |