diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-12-05 23:37:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-05 23:37:00 +0100 |
commit | b490a46c4af93dbeaa642c5ae285b69accc9bdb0 (patch) | |
tree | 5c5cf53a1760caf0b1e3feadb9ac3947583d466b | |
parent | fc6dd2d4cb49282cd00df48128c436ac8e9f416e (diff) | |
parent | 1656a08323532455dc7004bfa9182f38c98f969c (diff) | |
download | nextcloud-server-b490a46c4af93dbeaa642c5ae285b69accc9bdb0.tar.gz nextcloud-server-b490a46c4af93dbeaa642c5ae285b69accc9bdb0.zip |
Merge pull request #12861 from nextcloud/backport/12855/stable15
[stable15] Only execute query in propagateChange once
-rw-r--r-- | lib/private/Files/Cache/Propagator.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/Cache/Propagator.php b/lib/private/Files/Cache/Propagator.php index ae51b2e52d8..f0cedb39850 100644 --- a/lib/private/Files/Cache/Propagator.php +++ b/lib/private/Files/Cache/Propagator.php @@ -97,9 +97,9 @@ class Propagator implements IPropagator { ->where($builder->expr()->eq('storage', $builder->createNamedParameter($storageId, IQueryBuilder::PARAM_INT))) ->andWhere($builder->expr()->in('path_hash', $hashParams)) ->andWhere($builder->expr()->gt('size', $builder->expr()->literal(-1, IQueryBuilder::PARAM_INT))); - } - $builder->execute(); + $builder->execute(); + } } protected function getParents($path) { |