Skip to content

Commit

Permalink
Forgot to add $pathToScan argument to anonymous function.
Browse files Browse the repository at this point in the history
  • Loading branch information
tetebueno authored Nov 29, 2024
1 parent 97b1117 commit daf5f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Command/RescanPhotos.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
echo "Extracting coordinates from photo is performed in a BackgroundJob \n";
}
if ($userId === null) {
$this->userManager->callForSeenUsers(function (IUser $user) use ($inBackground) {
$this->userManager->callForSeenUsers(function (IUser $user, string $pathToScan) use ($inBackground) {
$this->rescanUserPhotos($user->getUID(), $inBackground, $pathToScan);
});
} else {
Expand Down

0 comments on commit daf5f16

Please sign in to comment.