mirror of
https://github.com/nextcloud/server.git
synced 2026-05-19 08:25:56 -04:00
Merge pull request #12861 from nextcloud/backport/12855/stable15
[stable15] Only execute query in propagateChange once
This commit is contained in:
commit
b490a46c4a
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue