From df359bc099a5b9b70c2fc83425440164318d1f83 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Mon, 6 Feb 2023 07:38:30 -0800 Subject: [PATCH] tw: rename updateGeoData --- lib/Db/TimelineWrite.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Db/TimelineWrite.php b/lib/Db/TimelineWrite.php index f506941c..e0378088 100644 --- a/lib/Db/TimelineWrite.php +++ b/lib/Db/TimelineWrite.php @@ -163,7 +163,7 @@ class TimelineWrite $lon = $exif['GPSLongitude']; try { - $this->updateGeoData($file, (float) $lat, (float) $lon); + $this->updatePlacesData($file, (float) $lat, (float) $lon); } catch (\Exception $e) { $logger = \OC::$server->get(LoggerInterface::class); $logger->log(3, 'Error updating geo data: '.$e->getMessage(), ['app' => 'memories']); @@ -284,9 +284,9 @@ class TimelineWrite } /** - * Add geolocation data for a file. + * Add places data for a file. */ - public function updateGeoData(File &$file, float $lat, float $lon): void + public function updatePlacesData(File &$file, float $lat, float $lon): void { // Get GIS type $gisType = \OCA\Memories\Util::placesGISType();