diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2017-07-18 22:23:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-18 22:23:22 +0200 |
commit | 3a9bc859762e0479c3b376905e011a83c7de97fc (patch) | |
tree | aef25770d0f66bda9cf6671c35e04c48bbbf6fe6 | |
parent | bcff249f2ab527efe1e060baedd37a995562cc27 (diff) | |
parent | c17b07667e4b749394c9f7bb5c8590fd95e3da3e (diff) | |
download | nextcloud-server-3a9bc859762e0479c3b376905e011a83c7de97fc.tar.gz nextcloud-server-3a9bc859762e0479c3b376905e011a83c7de97fc.zip |
Merge pull request #5771 from nextcloud/path-repair-steps-loop-12
[12] 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) { |