summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-07-18 14:01:49 +0200
committerRobin Appelman <robin@icewind.nl>2017-07-18 14:01:49 +0200
commit8b58b4c2a79deabe4e6055daa4a7b34adcc30068 (patch)
tree41c8c691c2d9be92b4d0522c822d776a104aac03 /lib
parent1ac6eae7d55c9c9530a55e643e39879e8ae816c2 (diff)
downloadnextcloud-server-8b58b4c2a79deabe4e6055daa4a7b34adcc30068.tar.gz
nextcloud-server-8b58b4c2a79deabe4e6055daa4a7b34adcc30068.zip
Fix invalid path repair step not getting all invalid entries
Signed-off-by: Robin Appelman <robin@icewind.nl>
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) {