Skip to content

Commit

Permalink
safe-remove unused function after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
hansmorb committed Oct 22, 2023
1 parent b8c67b8 commit 402cd6f
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -501,19 +501,6 @@ public static function registerUserDataErasers( $erasers ) {
return $erasers;
}

/**
* Gets location position for locations without coordinates.
*/
public static function updateLocationCoordinates() {
$locations = Repository\Location::get();

foreach ( $locations as $location ) {
if ( ! ( $location->getMeta( 'geo_latitude' ) && $location->getMeta( 'geo_longitude' ) ) ) {
$location->updateGeoLocation();
}
}
}

/**
* Init hooks.
*/
Expand Down

0 comments on commit 402cd6f

Please sign in to comment.