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
parent 6873b96ea5
commit fa48b7065e
No known key found for this signature in database
GPG key ID: 02325448204E452A

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);