summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2017-07-18 22:22:51 +0200
committerGitHub <noreply@github.com>2017-07-18 22:22:51 +0200
commitf0f1e2c5010a047bbe9e144380929921a6a694fc (patch)
treecd6f37e8e1dfe2592885c2922e0028e41c3f77ff
parent884751a8c0ccf13347a4a56d308169842e922900 (diff)
parent8b58b4c2a79deabe4e6055daa4a7b34adcc30068 (diff)
downloadnextcloud-server-f0f1e2c5010a047bbe9e144380929921a6a694fc.tar.gz
nextcloud-server-f0f1e2c5010a047bbe9e144380929921a6a694fc.zip
Merge pull request #5770 from nextcloud/path-repair-steps-loop
Fix invalid path repair step not getting all invalid entries
-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) {