Browse Source

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

Fix invalid path repair step not getting all invalid entries
Roeland Jago Douma 6 years ago
parent
commit
f0f1e2c501
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/private/Repair/NC13/RepairInvalidPaths.php

+ 1 - 1
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) {