summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Repair/NC13/RepairInvalidPaths.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Repair/NC13/RepairInvalidPaths.php b/lib/private/Repair/NC13/RepairInvalidPaths.php
index cf0b9e7783e..efc682bf44f 100644
--- a/lib/private/Repair/NC13/RepairInvalidPaths.php
+++ b/lib/private/Repair/NC13/RepairInvalidPaths.php
@@ -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) {