summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-08-06 15:28:10 +0200
committerVincent Petry <pvince81@owncloud.com>2015-08-06 15:28:10 +0200
commit6c139674a4dc6b9984bb303d7006854a6c9c6f3b (patch)
tree4695d4bd9be6dee5c4fb578304912e2bc45753a7 /lib/private
parent78203ecc2ffffd9e26e117223d3e7533e52938ea (diff)
parent2a90cbe6039de887a7ddc2fc11e52106c3d3d2f9 (diff)
downloadnextcloud-server-6c139674a4dc6b9984bb303d7006854a6c9c6f3b.tar.gz
nextcloud-server-6c139674a4dc6b9984bb303d7006854a6c9c6f3b.zip
Merge pull request #18030 from owncloud/dav-upload-updater
go trough the updater when uploading over webdav
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/connector/sabre/file.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/connector/sabre/file.php b/lib/private/connector/sabre/file.php
index 18bd3b8d91d..fa2f5ce18d7 100644
--- a/lib/private/connector/sabre/file.php
+++ b/lib/private/connector/sabre/file.php
@@ -208,10 +208,9 @@ class File extends Node implements IFile {
}
// since we skipped the view we need to scan and emit the hooks ourselves
- $partStorage->getScanner()->scanFile($internalPath);
+ $this->fileView->getUpdater()->update($this->path);
if ($view) {
- $this->fileView->getUpdater()->propagate($hookPath);
if (!$exists) {
\OC_Hook::emit(\OC\Files\Filesystem::CLASSNAME, \OC\Files\Filesystem::signal_post_create, array(
\OC\Files\Filesystem::signal_param_path => $hookPath