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 /lib/private/Files/Storage | |
parent | 632159613447796b5bb7dbe3a17c194573b18b4a (diff) | |
download | nextcloud-server-dbfdc6282af2c00deece8196684b7c67a1064bb4.tar.gz nextcloud-server-dbfdc6282af2c00deece8196684b7c67a1064bb4.zip |
do propagation in a single query
Diffstat (limited to 'lib/private/Files/Storage')
-rw-r--r-- | lib/private/Files/Storage/Common.php | 2 | ||||
-rw-r--r-- | lib/private/Files/Storage/Home.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/Storage/Common.php b/lib/private/Files/Storage/Common.php index 3a811b312c6..6382dbd26b1 100644 --- a/lib/private/Files/Storage/Common.php +++ b/lib/private/Files/Storage/Common.php @@ -352,7 +352,7 @@ abstract class Common implements Storage, ILockingStorage { $storage = $this; } if (!isset($storage->propagator)) { - $storage->propagator = new Propagator($storage); + $storage->propagator = new Propagator($storage, \OC::$server->getDatabaseConnection()); } return $storage->propagator; } diff --git a/lib/private/Files/Storage/Home.php b/lib/private/Files/Storage/Home.php index 9b98f2f7e12..19ba217fa42 100644 --- a/lib/private/Files/Storage/Home.php +++ b/lib/private/Files/Storage/Home.php @@ -88,7 +88,7 @@ class Home extends Local implements \OCP\Files\IHomeStorage { $storage = $this; } if (!isset($this->propagator)) { - $this->propagator = new HomePropagator($storage); + $this->propagator = new HomePropagator($storage, \OC::$server->getDatabaseConnection()); } return $this->propagator; } |