Rename farm_map_geofield_geometry_combine() to farm_map_combine_geoms().
This commit is contained in:
parent
11c02e2ab8
commit
2bd13f2e0e
|
@ -14,7 +14,7 @@
|
|||
* @return object|bool
|
||||
* Returns a GeoPHP object, or FALSE on failure.
|
||||
*/
|
||||
function farm_map_geofield_geometry_combine($geoms = array()) {
|
||||
function farm_map_combine_geoms($geoms = array()) {
|
||||
|
||||
// If no geometries were found, return an empty geometry.
|
||||
if (empty($geoms)) {
|
||||
|
|
|
@ -260,7 +260,7 @@ function farm_map_geofield_populate(&$entity, $geoms = array()) {
|
|||
}
|
||||
|
||||
// Combine the WKT geometries into a single GeoPHP geometry.
|
||||
$geometry = farm_map_geofield_geometry_combine($geoms);
|
||||
$geometry = farm_map_combine_geoms($geoms);
|
||||
|
||||
// If that didn't work, bail.
|
||||
if (empty($geometry)) {
|
||||
|
|
Loading…
Reference in New Issue