Merge pull request #5770 from nextcloud/path-repair-steps-loop

Fix invalid path repair step not getting all invalid entries
This commit is contained in:
Roeland Jago Douma 2017-07-18 22:22:51 +02:00 committed by GitHub
commit f0f1e2c501

View file

@ -76,7 +76,7 @@ class RepairInvalidPaths implements IRepairStep {
yield $row;
}
$result->closeCursor();
} while (count($rows) >= self::MAX_ROWS);
} while (count($rows) > 0);
}
private function getId($storage, $path) {