diff options
author | Robin Appelman <icewind@owncloud.com> | 2016-02-25 13:14:20 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-04-25 16:18:59 +0200 |
commit | dbfdc6282af2c00deece8196684b7c67a1064bb4 (patch) | |
tree | 3dacb071aa5f882d43222b49091bd60d879cf668 /apps | |
parent | 632159613447796b5bb7dbe3a17c194573b18b4a (diff) | |
download | nextcloud-server-dbfdc6282af2c00deece8196684b7c67a1064bb4.tar.gz nextcloud-server-dbfdc6282af2c00deece8196684b7c67a1064bb4.zip |
do propagation in a single query
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/sharedpropagator.php | 1 | ||||
-rw-r--r-- | apps/files_sharing/lib/sharedstorage.php | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/sharedpropagator.php b/apps/files_sharing/lib/sharedpropagator.php index 8de90b9552b..f17cfc3a75b 100644 --- a/apps/files_sharing/lib/sharedpropagator.php +++ b/apps/files_sharing/lib/sharedpropagator.php @@ -33,7 +33,6 @@ class SharedPropagator extends Propagator { * @param string $internalPath * @param int $time * @param int $sizeDifference - * @return \array[] all propagated entries */ public function propagateChange($internalPath, $time, $sizeDifference = 0) { /** @var \OC\Files\Storage\Storage $storage */ diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php index 48ab3fad5f6..1a040364f11 100644 --- a/apps/files_sharing/lib/sharedstorage.php +++ b/apps/files_sharing/lib/sharedstorage.php @@ -332,7 +332,7 @@ class Shared extends \OC\Files\Storage\Wrapper\Jail implements ISharedStorage { if (!$storage) { $storage = $this; } - return new \OCA\Files_Sharing\SharedPropagator($storage); + return new \OCA\Files_Sharing\SharedPropagator($storage, \OC::$server->getDatabaseConnection()); } public function getOwner($path) { |