From 11153633ffdf9631d411bd6ea1999cd90a5bd98b Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Thu, 1 May 2014 14:21:57 +0200 Subject: [PATCH 1/1] remove some dead code --- lib/Geocode.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/Geocode.php b/lib/Geocode.php index 1604d43f..cc846f54 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -1791,17 +1791,3 @@ } // end class - -/* - if (isset($_GET['route']) && $_GET['route'] && isset($_GET['routewidth']) && $_GET['routewidth']) - { - $aPoints = explode(',',$_GET['route']); - if (sizeof($aPoints) % 2 != 0) - { - userError("Uneven number of points"); - exit; - } - $sViewboxCentreSQL = "ST_SetSRID('LINESTRING("; - $fPrevCoord = false; - } -*/ -- 2.39.5