We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 289ed6a commit 9aa85d5Copy full SHA for 9aa85d5
1 file changed
lib/Command/RescanPhotos.php
@@ -86,7 +86,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
86
echo "Extracting coordinates from photo is performed in a BackgroundJob \n";
87
}
88
if ($userId === null) {
89
- $this->userManager->callForSeenUsers(function (IUser $user, string $pathToScan) use ($inBackground) {
+ $this->userManager->callForSeenUsers(function (IUser $user, ?string $pathToScan = null) use ($inBackground) {
90
$this->rescanUserPhotos($user->getUID(), $inBackground, $pathToScan);
91
});
92
} else {
0 commit comments