mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 06:37:56 -04:00
fix(propagator): Don't run queries if no parents
Signed-off-by: Carl Schwan <carlschwan@kde.org>
This commit is contained in:
parent
6873b96ea5
commit
fa48b7065e
1 changed files with 4 additions and 0 deletions
|
|
@ -62,6 +62,10 @@ class Propagator implements IPropagator {
|
|||
}
|
||||
}
|
||||
|
||||
if ($parents === []) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($this->inBatch) {
|
||||
foreach ($parents as $parent) {
|
||||
$this->addToBatch($parent, $time, $sizeDifference);
|
||||
|
|
|
|||
Loading…
Reference in a new issue