Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/maps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorArne Hamann <kontakt+github@arne.email>2022-03-23 18:05:50 +0300
committerArne Hamann <kontakt+github@arne.email>2022-03-23 18:05:50 +0300
commit6b6ac89d10ab64c056d5f467d18ff9336f7e6590 (patch)
tree6ecb77bebeb120a9c8eaafe865d69442e2772b2e /lib
parentc3f10ff244ec2c0286b50887075a794f79859c6a (diff)
Don't guess empty locations
Signed-off-by: Arne Hamann <kontakt+github@arne.email>
Diffstat (limited to 'lib')
-rw-r--r--lib/Service/GeophotoService.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Service/GeophotoService.php b/lib/Service/GeophotoService.php
index 1fc4ae2d..8a78e53e 100644
--- a/lib/Service/GeophotoService.php
+++ b/lib/Service/GeophotoService.php
@@ -169,9 +169,6 @@ class GeophotoService {
$locations[] = $location;
}
}
- if (count($locations) === 0) {
- $locations[] = [null, null];
- }
return $locations;
}