summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/propagation/propagationmanager.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-04-20 13:32:09 +0200
committerRobin Appelman <icewind@owncloud.com>2015-04-27 14:07:16 +0200
commitf488624e5ff3a8f580029e98373071d6fe91e2eb (patch)
treec36edb6a9e976da6383440929f4bb80a4e91f17c /apps/files_sharing/lib/propagation/propagationmanager.php
parent526ea3fcba56502b9a3a5204221a0aa7e4fa538a (diff)
downloadnextcloud-server-f488624e5ff3a8f580029e98373071d6fe91e2eb.tar.gz
nextcloud-server-f488624e5ff3a8f580029e98373071d6fe91e2eb.zip
minor fixes
Diffstat (limited to 'apps/files_sharing/lib/propagation/propagationmanager.php')
-rw-r--r--apps/files_sharing/lib/propagation/propagationmanager.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/files_sharing/lib/propagation/propagationmanager.php b/apps/files_sharing/lib/propagation/propagationmanager.php
index 14763a4df7a..794a7ae04f5 100644
--- a/apps/files_sharing/lib/propagation/propagationmanager.php
+++ b/apps/files_sharing/lib/propagation/propagationmanager.php
@@ -42,9 +42,7 @@ class PropagationManager {
*/
private $sharePropagators = [];
- private $globalSetupDone = false;
-
- function __construct(IUserSession $userSession, IConfig $config) {
+ public function __construct(IUserSession $userSession, IConfig $config) {
$this->userSession = $userSession;
$this->config = $config;
}
@@ -82,7 +80,7 @@ class PropagationManager {
}
/**
- * Attach the propagator to the change propagator of a user to listen to changes made to files shared by the user
+ * Attach the recipient propagator for $user to the change propagator of a share owner to mark shares as dirty when the owner makes a change to a share
*
* @param string $shareOwner
* @param string $user