summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-06-25 14:29:40 +0200
committerRobin Appelman <icewind@owncloud.com>2015-06-25 14:29:40 +0200
commit0128a86df1743dc42b5f198b2cc905ba9f5cab4a (patch)
tree2d7fa797725b48c86a836dfe2deaf249b41c83eb /apps/files_sharing/lib
parentc87ab6508114e1c63f6f09564d2900398fd07333 (diff)
downloadnextcloud-server-0128a86df1743dc42b5f198b2cc905ba9f5cab4a.tar.gz
nextcloud-server-0128a86df1743dc42b5f198b2cc905ba9f5cab4a.zip
add some docs
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/propagation/changewatcher.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/propagation/changewatcher.php b/apps/files_sharing/lib/propagation/changewatcher.php
index 4c6e9f89cb1..3988eddf6f5 100644
--- a/apps/files_sharing/lib/propagation/changewatcher.php
+++ b/apps/files_sharing/lib/propagation/changewatcher.php
@@ -48,6 +48,8 @@ class ChangeWatcher {
}
$info = $this->baseView->getFileInfo($path);
if ($info) {
+ // trigger propagation if the subject of the write hook is shared.
+ // if a parent folder of $path is shared the propagation will be triggered from the change propagator hooks
$this->recipientPropagator->propagateById($info->getId());
}
}