Skip to content

Commit 8e4adc6

Browse files
akhil1508AndyScherzinger
authored andcommitted
fix: pass the user's home path to backgroundScan in ScanFiles job
Signed-off-by: Akhil <akhil@e.email>
1 parent 8f17492 commit 8e4adc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/files/lib/BackgroundJob/ScanFiles.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protected function runScanner(string $user): void {
5252
$this->logger,
5353
$this->setupManager,
5454
);
55-
$scanner->backgroundScan('');
55+
$scanner->backgroundScan('/' . $user);
5656
} catch (\Exception $e) {
5757
$this->logger->error($e->getMessage(), ['exception' => $e, 'app' => 'files']);
5858
}

0 commit comments

Comments
 (0)