diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2017-07-18 22:22:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-18 22:22:51 +0200 |
commit | f0f1e2c5010a047bbe9e144380929921a6a694fc (patch) | |
tree | cd6f37e8e1dfe2592885c2922e0028e41c3f77ff | |
parent | 884751a8c0ccf13347a4a56d308169842e922900 (diff) | |
parent | 8b58b4c2a79deabe4e6055daa4a7b34adcc30068 (diff) | |
download | nextcloud-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.php | 2 |
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) { |