summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Storage
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-12-05 22:06:19 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-12-05 22:06:19 +0100
commit72f3882d4b405ad8035f795120f6c2e7a3dda174 (patch)
tree6a8dbd29be4326134de305950800e19fe0613b60 /lib/private/Files/Storage
parent1e0339775057201f54c87fb18e329c1fb94f7a60 (diff)
downloadnextcloud-server-72f3882d4b405ad8035f795120f6c2e7a3dda174.tar.gz
nextcloud-server-72f3882d4b405ad8035f795120f6c2e7a3dda174.zip
No need to propogate changes in appdata
Right now we propogate a lof of changes in appdata. So for example we propogate each and every preview that is added to the system. This has no real added value as far as I can tell. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Files/Storage')
-rw-r--r--lib/private/Files/Storage/Common.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Common.php b/lib/private/Files/Storage/Common.php
index 72fe3a79792..657a8ba611a 100644
--- a/lib/private/Files/Storage/Common.php
+++ b/lib/private/Files/Storage/Common.php
@@ -368,7 +368,8 @@ abstract class Common implements Storage, ILockingStorage, IWriteStreamStorage {
$storage = $this;
}
if (!isset($storage->propagator)) {
- $storage->propagator = new Propagator($storage, \OC::$server->getDatabaseConnection());
+ $config = \OC::$server->getSystemConfig();
+ $storage->propagator = new Propagator($storage, \OC::$server->getDatabaseConnection(), ['appdata_' . $config->getValue('instanceid')]);
}
return $storage->propagator;
}