Skip to content

Commit

Permalink
Don't guess empty locations
Browse files Browse the repository at this point in the history
Signed-off-by: Arne Hamann <[email protected]>
  • Loading branch information
tacruc committed Mar 23, 2022
1 parent c3f10ff commit 6b6ac89
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/Service/GeophotoService.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,6 @@ private function getLocationGuesses($dateTaken) {
$locations[] = $location;
}
}
if (count($locations) === 0) {
$locations[] = [null, null];
}
return $locations;

}
Expand Down

0 comments on commit 6b6ac89

Please sign in to comment.