fix(propagator): Don't run queries if no parents

Signed-off-by: Carl Schwan <carlschwan@kde.org>
This commit is contained in:
Carl Schwan 2026-02-20 17:36:34 +01:00 committed by backportbot[bot]
parent 23b54f60ca
commit 9866e8190d

View file

@ -62,6 +62,10 @@ class Propagator implements IPropagator {
}
}
if ($parents === []) {
return;
}
if ($this->inBatch) {
foreach ($parents as $parent) {
$this->addToBatch($parent, $time, $sizeDifference);