summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-26 12:01:44 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-26 12:01:44 +0100
commit5a33390a696b19cfccc2ecc5673c4f0f442689e1 (patch)
treecf8e35ae0f998bd918d8ce55e5778aa526e10214 /apps/dav/lib
parentf6876166263797b8ff9f14ffb7f592fbb02e9274 (diff)
parentb025f07fb7090acfe9d168974b4ce2e66f973e30 (diff)
downloadnextcloud-server-5a33390a696b19cfccc2ecc5673c4f0f442689e1.tar.gz
nextcloud-server-5a33390a696b19cfccc2ecc5673c4f0f442689e1.zip
Merge pull request #20731 from owncloud/per-storage-updater
Make Cache\Updater per storage
Diffstat (limited to 'apps/dav/lib')
-rw-r--r--apps/dav/lib/connector/sabre/file.php4
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 ef7b9891dc9..c66f627c0a3 100644
--- a/apps/dav/lib/connector/sabre/file.php
+++ b/apps/dav/lib/connector/sabre/file.php
@@ -192,7 +192,7 @@ class File extends Node implements IFile {
}
// since we skipped the view we need to scan and emit the hooks ourselves
- $this->fileView->getUpdater()->update($this->path);
+ $storage->getUpdater()->update($internalPath);
if ($view) {
$this->emitPostHooks($exists);
@@ -438,7 +438,7 @@ 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
- $this->fileView->getUpdater()->update($targetPath);
+ $targetStorage->getUpdater()->update($targetInternalPath);
$this->emitPostHooks($exists, $targetPath);