Merge pull request #18030 from owncloud/dav-upload-updater

go trough the updater when uploading over webdav
This commit is contained in:
Vincent Petry 2015-08-06 15:28:10 +02:00
commit 6c139674a4
1 changed files with 1 additions and 2 deletions

View File

@ -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