diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-08-03 13:42:36 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-08-03 13:42:36 +0200 |
commit | 2a90cbe6039de887a7ddc2fc11e52106c3d3d2f9 (patch) | |
tree | 248a8716f5d13402097c182a45266251a46b23d1 | |
parent | af7bcb43b1b74a5f0ad94b645d400510a2ae6bc4 (diff) | |
download | nextcloud-server-2a90cbe6039de887a7ddc2fc11e52106c3d3d2f9.tar.gz nextcloud-server-2a90cbe6039de887a7ddc2fc11e52106c3d3d2f9.zip |
go trough the updater when uploading over webdav
-rw-r--r-- | lib/private/connector/sabre/file.php | 3 |
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 |