summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/connector/sabre/file.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-11-25 13:53:31 +0100
committerRobin Appelman <icewind@owncloud.com>2015-11-25 14:16:00 +0100
commitb025f07fb7090acfe9d168974b4ce2e66f973e30 (patch)
treeb6fd66ae1914ead55e046d34c55ea0569587107c /apps/dav/lib/connector/sabre/file.php
parent50f6817ce99f3870e1e8dea92eaa35a0c40553ba (diff)
downloadnextcloud-server-b025f07fb7090acfe9d168974b4ce2e66f973e30.tar.gz
nextcloud-server-b025f07fb7090acfe9d168974b4ce2e66f973e30.zip
Make Cache\Updater per storage
Diffstat (limited to 'apps/dav/lib/connector/sabre/file.php')
-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);