Skip to content

Commit 6d4e9c0

Browse files
committed
adjust object store scanner
Signed-off-by: Robin Appelman <[email protected]>
1 parent abecafb commit 6d4e9c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Files/ObjectStore/ObjectStoreScanner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function backgroundScan() {
7676
* @throws \OCP\DB\Exception
7777
*/
7878
private function getIncomplete() {
79-
$query = $this->connection->getQueryBuilder();
79+
$query = $this->cache->getQueryBuilder();
8080
$query->select('path')
8181
->from('filecache')
8282
->where($query->expr()->eq('storage', $query->createNamedParameter($this->cache->getNumericStorageId(), IQueryBuilder::PARAM_INT)))

0 commit comments

Comments
 (0)