add some docs

This commit is contained in:
Robin Appelman 2015-06-25 14:29:40 +02:00
parent c87ab65081
commit 0128a86df1

View file

@ -48,6 +48,8 @@ class ChangeWatcher {
} }
$info = $this->baseView->getFileInfo($path); $info = $this->baseView->getFileInfo($path);
if ($info) { 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()); $this->recipientPropagator->propagateById($info->getId());
} }
} }