[Pkg-owncloud-commits] [owncloud] 13/79: go trough the updater when uploading over webdav
David Prévot
taffit at moszumanska.debian.org
Tue Sep 1 20:55:34 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit e0a330315df3b3bbd0e0306010e3e7f4216594ca
Author: Robin Appelman <icewind at owncloud.com>
Date: Mon Aug 3 13:42:36 2015 +0200
go trough the updater when uploading over webdav
---
lib/private/connector/sabre/file.php | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/private/connector/sabre/file.php b/lib/private/connector/sabre/file.php
index e4f53a2..06e5c5a 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list